X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=sys%2Fman%2F2%2Fbio;h=b62a5877dc7c4b3f02860a1eac1f470bfadcb7c0;hb=4c9cbe484d8bbade0a44ba1d26044077cae44fee;hp=31a5c838671f089e51ad0b9bd14a90f0d3d1bf25;hpb=20b945a382fabd55f8bc54eaa796badaee8d6fd0;p=plan9front.git diff --git a/sys/man/2/bio b/sys/man/2/bio index 31a5c8386..b62a5877d 100644 --- a/sys/man/2/bio +++ b/sys/man/2/bio @@ -153,12 +153,12 @@ returns the integer file descriptor of the associated open file. .PP .I Bterm flushes the buffer for -.IR bp +.I bp and returns .IR Bflush 's return value. If the buffer was allocated by -.IR Bopen +.I Bopen or .IR Bfdopen , the buffer is @@ -270,7 +270,7 @@ outputs the low order 8 bits of on .IR bp . If this causes a -.IR write +.I write to occur and there is an error, a negative value is returned. Otherwise, a zero is returned. @@ -291,7 +291,7 @@ on the output stream. is a buffered interface to .IR print (2). If this causes a -.IR write +.I write to occur and there is an error, a negative value .RB ( Beof ) @@ -312,7 +312,7 @@ of data starting at to .IR bp . If this causes a -.IR write +.I write to occur and there is an error, a negative value is returned. Otherwise, the number of bytes written is returned. @@ -349,7 +349,7 @@ is called with a non-nil function, then that function is called for I/O in lieu of .IR read (2) and -.IR write (2). +.IR write . A nil argument for .I iof restores normal behaviour. @@ -357,6 +357,7 @@ restores normal behaviour. .B /sys/src/libbio .SH SEE ALSO .IR open (2), +.IR read (2), .IR print (2), .IR exits (2), .IR utf (6),