summaryrefslogtreecommitdiff
path: root/lib/PerlIO.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-17 05:29:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-17 05:29:24 +0000
commit046e4a6af1e549ffcddd5421c8179b9ce3d443cd (patch)
tree8d893d3a5587628d5b4a98dda789781983ff96b0 /lib/PerlIO.pm
parent4bb101f2758f169969171dfe6b70f68a406dcc1e (diff)
downloadperl-046e4a6af1e549ffcddd5421c8179b9ce3d443cd.tar.gz
Detect the 'fast stdio' case.
p4raw-id: //depot/perl@19243
Diffstat (limited to 'lib/PerlIO.pm')
-rw-r--r--lib/PerlIO.pm9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm
index 24bc2b2b20..2deeea058b 100644
--- a/lib/PerlIO.pm
+++ b/lib/PerlIO.pm
@@ -204,7 +204,7 @@ translation for text files then the default layers are :
level layer.)
Otherwise if C<Configure> found out how to do "fast" IO using system's
-stdio, then the default layers are :
+stdio, then the default layers are:
unix stdio
@@ -243,11 +243,14 @@ DOS-like platforms and depending on the setting of the C<$ENV{PERLIO}>:
PERLIO UNIX-like DOS-like
- none or "" stdio unix crlf
- stdio stdio stdio
+ none or "" stdio [1] unix crlf
+ stdio stdio [1] stdio
perlio unix perlio unix perlio
mmap unix mmap unix mmap
+ # [1] If Configure found how to do "fast stdio",
+ # otherwise it will be "unix perlio".
+
By default the layers from the input side of the filehandle is
returned, to get the output side use the optional C<output> argument: