1 --- wscanf.3.orig 2007-04-08 18:49:37.000000000 -0700
2 +++ wscanf.3 2007-04-08 20:05:10.000000000 -0700
16 .Nd wide character input format conversion
23 -.Fn wscanf "const wchar_t * restrict format" ...
25 +.Fa "FILE *restrict stream"
26 +.Fa "const wchar_t *restrict format"
30 -.Fn fwscanf "FILE * restrict stream" "const wchar_t * restrict format" ...
32 +.Fa "const wchar_t *restrict ws"
33 +.Fa "const wchar_t *restrict format"
37 -.Fn swscanf "const wchar_t * restrict str" "const wchar_t * restrict format" ...
39 +.Fa "const wchar_t *restrict format"
46 -.Fn vwscanf "const wchar_t * restrict format" "va_list ap"
48 +.Fa "FILE *restrict stream"
49 +.Fa "const wchar_t *restrict format"
53 -.Fn vswscanf "const wchar_t * restrict str" "const wchar_t * restrict format" "va_list ap"
55 +.Fa "const wchar_t *restrict ws"
56 +.Fa "const wchar_t *restrict format"
60 -.Fn vfwscanf "FILE * restrict stream" "const wchar_t * restrict format" "va_list ap"
62 +.Fa "const wchar_t *restrict format"
68 -family of functions scans input according to a
69 +family of functions scans input, according to a
72 This format may contain
76 reads its input from the wide character string pointed to by
84 All conversions are introduced by the
86 (percent sign) character.
92 when an input character does not match such a format character.
94 when an input conversion cannot be made (see below).
96 +Extended locale versions of these functions are documented in
100 +for more information.
104 -character introducing a conversion
105 +character introducing a conversion,
106 there may be a number of
108 characters, as follows:
109 @@ -433,15 +465,12 @@
110 causes an immediate return of
116 -the number of input items assigned, which can be fewer than provided
117 -for, or even zero, in the event of a matching failure.
119 -indicates that, while there was input available,
120 +These functions return the number of input items assigned,
121 +which can be fewer than provided for, or even zero,
122 +in the event of a matching failure.
123 +Zero indicates that, while there was input available,
124 no conversions were assigned;
125 -typically this is due to an invalid input character,
126 +typically, this is due to an invalid input character,
127 such as an alphabetic character for a
130 @@ -459,14 +488,15 @@