summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-11-16 19:56:41 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-11-16 19:56:41 +0000
commita1d180c4a5147aa338f86b44d91b356bec0875ac (patch)
treefe86276111bb86ca32650e6428157ee92f78b3cb /perlio.h
parentf43e18dedd82de8422b4f1925849b6a0463069c6 (diff)
downloadperl-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlio.h b/perlio.h
index d8ea15a8a0..fd9aa3bb0b 100644
--- a/perlio.h
+++ b/perlio.h
@@ -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);