diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-30 18:47:02 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-30 18:47:02 +0000 |
commit | 3b6c1aba8481917ec21730e293e339a1c561e02c (patch) | |
tree | 644bf6495a2288a41254929c3f9f68c9d0210a85 /sv.h | |
parent | c2fcde81f9cb1a632422e27a9e967bc087d75ae7 (diff) | |
download | perl-3b6c1aba8481917ec21730e293e339a1c561e02c.tar.gz |
Fewer naked char constants.
p4raw-id: //depot/perl@20957
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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 |