diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-16 19:56:41 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-16 19:56:41 +0000 |
commit | a1d180c4a5147aa338f86b44d91b356bec0875ac (patch) | |
tree | fe86276111bb86ca32650e6428157ee92f78b3cb /perlio.h | |
parent | f43e18dedd82de8422b4f1925849b6a0463069c6 (diff) | |
download | perl-a1d180c4a5147aa338f86b44d91b356bec0875ac.tar.gz |
Minor tweaks:
consistent way of getting 'rb', 'wb' etc. for binary opens
move *perlio::layers to *open::layers
a #define to show layers available
DOSISH popen/PerlIO had export/import sense inverted.
p4raw-id: //depot/perlio@7711
Diffstat (limited to 'perlio.h')
-rw-r--r-- | perlio.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -78,8 +78,10 @@ typedef struct _PerlIO PerlIOl; typedef struct _PerlIO_funcs PerlIO_funcs; typedef PerlIOl *PerlIO; #define PerlIO PerlIO +#define PERLIO_LAYERS 1 extern void PerlIO_define_layer (PerlIO_funcs *tab); +extern SV * PerlIO_find_layer(char *name, STRLEN len); extern PerlIO * PerlIO_push (PerlIO *f,PerlIO_funcs *tab,const char *mode); extern void PerlIO_pop (PerlIO *f); |