summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-10-20 14:25:37 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-10-20 14:25:37 +0000
commit06c7082d6226d352105bade1a7e185ff0a49e896 (patch)
tree39eedf1073fc64f1b55d2314cbb1ba0b0ab85691 /perlio.h
parented1c0269a31901e89fe8c0090d5c6cb7881eeb2f (diff)
downloadperl-06c7082d6226d352105bade1a7e185ff0a49e896.tar.gz
Extract doio.c's open(2) mode to string conversion as PerlIO_intmod2str()
Use for non-PERLIO fdupopen(). p4raw-id: //depot/perlio@12532
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 1921a52957..c5a25f3257 100644
--- a/perlio.h
+++ b/perlio.h
@@ -346,6 +346,8 @@ extern char *PerlIO_getname(PerlIO *, char *);
extern void PerlIO_destruct(pTHX);
+extern int PerlIO_intmode2str(int rawmode, char *mode, int *writing);
+
#ifndef PERLIO_IS_STDIO
extern void PerlIO_cleanup(void);