From: Jarkko Hietaniemi Date: Fri, 21 Jun 2002 12:06:17 +0000 (+0000) Subject: Slight rewording from Stas, paragraph rewrappings. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a489db4dc8d60b4752ca46ab21deea7356402722;p=p5sagit%2Fp5-mst-13.2.git Slight rewording from Stas, paragraph rewrappings. p4raw-id: //depot/perl@17337 --- diff --git a/pod/perliol.pod b/pod/perliol.pod index da4abe7..604da50 100644 --- a/pod/perliol.pod +++ b/pod/perliol.pod @@ -328,9 +328,9 @@ to change during one "get".) Size_t fsize; -Size of the function table. This is compared against the value PerlIO code "knows" -as a compatibility check. Future versions I be able to tolerate layers -compiled against an old version of the headers. +Size of the function table. This is compared against the value PerlIO +code "knows" as a compatibility check. Future versions I be able +to tolerate layers compiled against an old version of the headers. =item name @@ -352,9 +352,9 @@ The size of the per-instance data structure, e.g.: sizeof(PerlIOAPR) -If this field is zero then C does not malloc anything and assumes -layer's Pushed function will do any required layer stack manipulation - used -to avoid malloc/free overhead for dummy layers. +If this field is zero then C does not malloc anything +and assumes layer's Pushed function will do any required layer stack +manipulation - used to avoid malloc/free overhead for dummy layers. If the field is non-zero it must be at least the size of C, C will allocate memory for the layer's data structures and link new layer onto the stream's stack. (If the layer's Pushed @@ -454,10 +454,10 @@ special C calls; the C<'#'> prefix means that this is C and that I and I should be passed to C; C<'r'> means Bead, C<'w'> means Brite and C<'a'> means Bppend. The C<'+'> suffix means that both reading and -writing/appending are permitted. The C<'b'> suffix means file should -be binary, and C<'t'> means it is text. (Binary/Text should be ignored -by almost all layers and binary IO done, with PerlIO. The C<:crlf> -layer should be pushed to handle the distinction.) +writing/appending are permitted. The C<'b'> suffix means file should +be binary, and C<'t'> means it is text. (Almost all layers should do +the IO in binary mode, and ignore the b/t bits. The C<:crlf> layer +should be pushed to handle the distinction.) If I is not C then this is a C. Perl itself does not use this (yet?) and semantics are a little vague. @@ -509,8 +509,8 @@ Returns the Unix/Posix numeric file descriptor for the handle. Normally C (which just asks next layer down) will suffice for this. -Returns -1 on error, which is considered to include the case where the layer cannot -provide such a file descriptor. +Returns -1 on error, which is considered to include the case where the +layer cannot provide such a file descriptor. =item Dup @@ -519,8 +519,9 @@ provide such a file descriptor. XXX: Needs more docs. -Used as part of the "clone" process when a thread is spawned (in which case -param will be non-NULL) and when a stream is being duplicated via '&' in the C. +Used as part of the "clone" process when a thread is spawned (in which +case param will be non-NULL) and when a stream is being duplicated via +'&' in the C. Similar to C, returns PerlIO* on success, C on failure.