This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cc350
)
commentary about IoTYPE() (from Nathan Torkington)
author
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 24 Apr 2000 07:08:42 +0000
(07:08 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 24 Apr 2000 07:08:42 +0000
(07:08 +0000)
p4raw-id: //depot/perl@5922
sv.h
patch
|
blob
|
blame
|
history
diff --git
a/sv.h
b/sv.h
index
245199f
..
c0ce967
100644
(file)
--- 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.