summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-04-24 07:08:42 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-04-24 07:08:42 +0000
commit03fcf2fcc9e751244339c3773a608a59a66f59e8 (patch)
treed7c4e23b756b3724851392b63a7f82c829541b1c /sv.h
parentc5cc35007718d4b8a82486110aec2d59e69a4f79 (diff)
downloadperl-03fcf2fcc9e751244339c3773a608a59a66f59e8.tar.gz
commentary about IoTYPE() (from Nathan Torkington)
p4raw-id: //depot/perl@5922
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sv.h b/sv.h
index 245199fbfc..c0ce96783d 100644
--- a/sv.h
+++ b/sv.h
@@ -709,6 +709,19 @@ Set the length of the string which is in the SV. See C<SvCUR>.
#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
not.