From: Gurusamy Sarathy Date: Wed, 7 Jul 1999 17:47:30 +0000 (+0000) Subject: missing PerlIO_reopen() (suggested by sam@daemoninc.com) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e50990e1101efe5e60cb533da47cd00524dea150;p=p5sagit%2Fp5-mst-13.2.git missing PerlIO_reopen() (suggested by sam@daemoninc.com) p4raw-id: //depot/perl@3651 --- diff --git a/perlsfio.h b/perlsfio.h index d6731e4..c4ed5c7 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -18,6 +18,7 @@ extern int _stdprintf _ARG_((const char*, ...)); #define PerlIO_write(f,buf,count) sfwrite(f,buf,count) #define PerlIO_open(path,mode) sfopen(NULL,path,mode) #define PerlIO_fdopen(fd,mode) _stdopen(fd,mode) +#define PerlIO_reopen(path,mode,f) sfopen(f,path,mode) #define PerlIO_close(f) sfclose(f) #define PerlIO_puts(f,s) sfputr(f,s,-1) #define PerlIO_putc(f,c) sfputc(f,c)