summaryrefslogtreecommitdiff
path: root/perliol.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-10-15 20:27:53 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-10-15 20:27:53 +0000
commit71200d45e1b06d4f36df595fa80b743f999642c1 (patch)
tree9903f6e3ecdc5d5da7ecd552f18ba4ea7cbc6268 /perliol.h
parent2d5eca6bf2f556631f01275bcaf0cff607af6edc (diff)
downloadperl-71200d45e1b06d4f36df595fa80b743f999642c1.tar.gz
Beginings of PerlIO_dup support (unstable)
p4raw-id: //depot/perlio@12447
Diffstat (limited to 'perliol.h')
-rw-r--r--perliol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perliol.h b/perliol.h
index eb6a415a30..4c86661e62 100644
--- a/perliol.h
+++ b/perliol.h
@@ -26,6 +26,7 @@ struct _PerlIO_funcs {
PerlIO *old, int narg, SV **args);
SV *(*Getarg) (PerlIO *f);
IV (*Fileno) (PerlIO *f);
+ PerlIO *(*Dup) (pTHX_ PerlIO *f, PerlIO *o, clone_params *param);
/* Unix-like functions - cf sfio line disciplines */
SSize_t(*Read) (PerlIO *f, void *vbuf, Size_t count);
SSize_t(*Unread) (PerlIO *f, const void *vbuf, Size_t count);
@@ -119,6 +120,7 @@ extern SV *PerlIO_arg_fetch(PerlIO_list_t *av, IV n);
/* Generic, or stub layer functions */
extern IV PerlIOBase_fileno(PerlIO *f);
+extern PerlIO *PerlIOBase_dup(pTHX_ PerlIO *f, PerlIO *o, clone_params *param);
extern IV PerlIOBase_pushed(PerlIO *f, const char *mode, SV *arg);
extern IV PerlIOBase_popped(PerlIO *f);
extern SSize_t PerlIOBase_read(PerlIO *f, void *vbuf, Size_t count);