summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-11-23 19:46:23 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-11-23 19:46:23 +0000
commit60382766f71ec2a2d8e34a951c5c77b494bd86bb (patch)
tree3301dd4ff8ec6f8c55a06624af02d30bb5bf26be /perlio.h
parent99efab1281ccea6f7df2a4d0affc5479291e2350 (diff)
downloadperl-60382766f71ec2a2d8e34a951c5c77b494bd86bb.tar.gz
Implement PerlIO_binmode()
Fix PerlIOCrlf_unread() (*--ptr rather than *ptr-- ...) Test on UNIX with PERLIO="perlio crlf" to mimic Win32, make binmode in t/lib/io_tell.t unconditional so that works. Checkin just so Win32 machine can see these changes. p4raw-id: //depot/perlio@7842
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/perlio.h b/perlio.h
index 8cb4f7ed06..75f00a20f9 100644
--- a/perlio.h
+++ b/perlio.h
@@ -309,7 +309,10 @@ extern PerlIO * PerlIO_fdupopen (PerlIO *);
extern int PerlIO_isutf8 (PerlIO *);
#endif
#ifndef PerlIO_apply_layers
-extern int PerlIO_apply_layers (pTHX_ PerlIO *f,const char *mode, const char *names);
+extern int PerlIO_apply_layers (pTHX_ PerlIO *f, const char *mode, const char *names);
+#endif
+#ifndef PerlIO_binmode
+extern int PerlIO_binmode (pTHX_ PerlIO *f, int iotype, int omode, const char *names);
#endif
extern void PerlIO_debug(const char *fmt,...);