From 03fcf2fcc9e751244339c3773a608a59a66f59e8 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Mon, 24 Apr 2000 07:08:42 +0000 Subject: commentary about IoTYPE() (from Nathan Torkington) p4raw-id: //depot/perl@5922 --- sv.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sv.h') diff --git a/sv.h b/sv.h index 245199fbfc..c0ce96783d 100644 --- a/sv.h +++ b/sv.h @@ -708,6 +708,19 @@ Set the length of the string which is in the SV. See C. #define IoTYPE(sv) ((XPVIO*) SvANY(sv))->xio_type #define IoFLAGS(sv) ((XPVIO*) SvANY(sv))->xio_flags +/* +IoTYPE(sv) is a single character saying what type of I/O connection +this is: + | pipe + - stdin or stdout + < read-only + > write-only + a append + + read and write + s socket + space closed +*/ + /* =for apidoc Am|bool|SvTAINTED|SV* sv Checks to see if an SV is tainted. Returns TRUE if it is, FALSE if -- cgit v1.2.1