1 --- fgetws.3 2003-05-20 15:22:41.000000000 -0700
2 +++ fgetws.3.edit 2006-08-12 09:44:23.000000000 -0700
10 .Nd get a line of wide characters from a stream
17 -.Fn fgetws "wchar_t * restrict ws" "int n" "FILE * restrict fp"
19 +.Fa "wchar_t *restrict ws"
21 +.Fa "FILE *restrict stream"
28 +.Fa "wchar_t *restrict ws"
30 +.Fa "FILE *restrict stream"
37 reads at most one less than the number of characters specified by
42 and stores them in the wide character string
44 Reading stops when a newline character is found,
46 If any characters are read and there is no error, a
48 character is appended to end the string.
52 +function uses the current locale, the
54 +function may be passed a locale directly. See
56 +for more information.
58 Upon successful completion,
64 -does not distinguish between end-of-file and error, and callers must use
65 +does not distinguish between end-of-file and error;
76 argument is not a readable stream.
78 The data obtained from the input stream does not form a valid