summaryrefslogtreecommitdiff
path: root/perlsfio.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-07 17:47:30 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-07 17:47:30 +0000
commite50990e1101efe5e60cb533da47cd00524dea150 (patch)
tree66bc88a7cae0e656c9d7e35ad8bad95a55a6ed47 /perlsfio.h
parent1f47e8e2e6e01cf4845f0f3f0f0c7524761ffa80 (diff)
downloadperl-e50990e1101efe5e60cb533da47cd00524dea150.tar.gz
missing PerlIO_reopen() (suggested by sam@daemoninc.com)
p4raw-id: //depot/perl@3651
Diffstat (limited to 'perlsfio.h')
-rw-r--r--perlsfio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perlsfio.h b/perlsfio.h
index d6731e46ac..c4ed5c7650 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)