summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>1998-10-11 14:53:13 +0200
committerGurusamy Sarathy <gsar@cpan.org>1998-10-17 02:17:49 +0000
commit145d37e29b0763362cc1b261774de4506a62c161 (patch)
tree9ba161c23025a56337377d2854e60bd30849313f /pod
parent20e084116f207bc3ac625070156c45f840178d95 (diff)
downloadperl-145d37e29b0763362cc1b261774de4506a62c161.tar.gz
applied suggested patch with small doc tweak
Message-ID: <m3u31bfjza.fsf@furu.g.aas.no> Subject: Re: [PATCH 5.005_52] Optional syswrite LENGTH argument p4raw-id: //depot/perl@1992
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 92a9532289..c23aa140ba 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -3988,8 +3988,11 @@ See L<perlop/"`STRING`"> and L</exec> for details.
=item syswrite FILEHANDLE,SCALAR,LENGTH
+=item syswrite FILEHANDLE,SCALAR
+
Attempts to write LENGTH bytes of data from variable SCALAR to the
-specified FILEHANDLE, using the system call write(2). It bypasses
+specified FILEHANDLE, using the system call write(2). If LENGTH is
+not specified, writes whole SCALAR. It bypasses
stdio, so mixing this with reads (other than C<sysread())>, C<print()>,
C<write()>, C<seek()>, or C<tell()> may cause confusion because stdio usually
buffers data. Returns the number of bytes actually written, or C<undef>