summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-30 18:47:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-30 18:47:02 +0000
commit3b6c1aba8481917ec21730e293e339a1c561e02c (patch)
tree644bf6495a2288a41254929c3f9f68c9d0210a85 /sv.h
parentc2fcde81f9cb1a632422e27a9e967bc087d75ae7 (diff)
downloadperl-3b6c1aba8481917ec21730e293e339a1c561e02c.tar.gz
Fewer naked char constants.
p4raw-id: //depot/perl@20957
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/sv.h b/sv.h
index ebdb2ddbee..d2113aeda2 100644
--- a/sv.h
+++ b/sv.h
@@ -788,14 +788,16 @@ and leaves the UTF8 status as it was.
#define IoFLAGS(sv) ((XPVIO*) SvANY(sv))->xio_flags
/* IoTYPE(sv) is a single character telling the type of I/O connection. */
-#define IoTYPE_RDONLY '<'
-#define IoTYPE_WRONLY '>'
-#define IoTYPE_RDWR '+'
-#define IoTYPE_APPEND 'a'
-#define IoTYPE_PIPE '|'
-#define IoTYPE_STD '-' /* stdin or stdout */
-#define IoTYPE_SOCKET 's'
-#define IoTYPE_CLOSED ' '
+#define IoTYPE_RDONLY '<'
+#define IoTYPE_WRONLY '>'
+#define IoTYPE_RDWR '+'
+#define IoTYPE_APPEND 'a'
+#define IoTYPE_PIPE '|'
+#define IoTYPE_STD '-' /* stdin or stdout */
+#define IoTYPE_SOCKET 's'
+#define IoTYPE_CLOSED ' '
+#define IoTYPE_IMPLICIT 'I' /* stdin or stdout or stderr */
+#define IoTYPE_NUMERIC '#' /* fdopen */
/*
=for apidoc Am|bool|SvTAINTED|SV* sv