diff options
| author | wiz <wiz@NetBSD.org> | 2001-12-07 12:35:13 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2001-12-07 12:35:13 +0000 |
| commit | aa5abf37318ce9c4cfa6782b57a65e1fd522cc01 (patch) | |
| tree | 19e3cb8b60ef659e90e2ead3373e346b5c70e4f9 /lib/libc/stdio | |
| parent | fa787c7ebafe777a59bc331be2df9d8c52c7f777 (diff) | |
Grammar improvements, some additional markup and a typo fix.
Diffstat (limited to 'lib/libc/stdio')
| -rw-r--r-- | lib/libc/stdio/fwide.3 | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/lib/libc/stdio/fwide.3 b/lib/libc/stdio/fwide.3 index 181825c209e..5c69cb5e14a 100644 --- a/lib/libc/stdio/fwide.3 +++ b/lib/libc/stdio/fwide.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: fwide.3,v 1.1 2001/12/07 11:47:42 yamt Exp $ +.\" $NetBSD: fwide.3,v 1.2 2001/12/07 12:35:13 wiz Exp $ .\" .\" Copyright (c)2001 Citrus Project, .\" All rights reserved. @@ -31,7 +31,7 @@ .Os .Sh NAME .Nm fwide -.Nd get/set orientation of stream +.Nd get/set orientation of a stream .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -43,30 +43,40 @@ The .Fn fwide function -determines orientation of stream pointed at by +determines the orientation of the stream pointed at by .Fa stream . .Pp -If orientation of stream have already been determined, +If the orientation of +.Fa stream +has already been determined, .Fn fwide leaves it unchanged. Otherwise, .Fn fwide -set orientation of stream accoding to +sets the orientation of +.Fa stream +according to .Fa mode . .Pp If .Fa mode -is less than zero, stream is set to byte-oriented. -If it is greater than zero, stream is set to wide-oriented. +is less than zero, +.Fa stream +is set to byte-oriented. +If it is greater than zero, +.Fa stream +is set to wide-oriented. Otherwise, .Fa mode -is zero, and stream is unchanged. +is zero, and +.Fa stream +is unchanged. .Sh RETURN VALUES .Fn fwide returns a value according to orientation after the call of -.Fn fwide . +.Fn fwide ; a value less than zero if byte-oriented, a value greater than zero -if wide-oriented, and zero if stream has no orientation. +if wide-oriented, and zero if the stream has no orientation. .Sh SEE ALSO .Xr ferror 3 , .Xr fgetc 3 , @@ -80,5 +90,5 @@ if wide-oriented, and zero if stream has no orientation. The .Fn fwide function -conform to +conforms to .St -isoC99 . |
