diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-23 19:46:23 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-23 19:46:23 +0000 |
commit | 60382766f71ec2a2d8e34a951c5c77b494bd86bb (patch) | |
tree | 3301dd4ff8ec6f8c55a06624af02d30bb5bf26be /perlio.h | |
parent | 99efab1281ccea6f7df2a4d0affc5479291e2350 (diff) | |
download | perl-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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,...); |