diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-10-15 20:27:53 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-10-15 20:27:53 +0000 |
commit | 71200d45e1b06d4f36df595fa80b743f999642c1 (patch) | |
tree | 9903f6e3ecdc5d5da7ecd552f18ba4ea7cbc6268 /perliol.h | |
parent | 2d5eca6bf2f556631f01275bcaf0cff607af6edc (diff) | |
download | perl-71200d45e1b06d4f36df595fa80b743f999642c1.tar.gz |
Beginings of PerlIO_dup support (unstable)
p4raw-id: //depot/perlio@12447
Diffstat (limited to 'perliol.h')
-rw-r--r-- | perliol.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |