* libc/stdio/swscanf.c: Some documentation corrections.
This commit is contained in:
parent
4a825d4145
commit
14a164a726
@ -1,4 +1,8 @@
|
|||||||
2009-03-09 Craig Howland <howland@LGSInnovations.com>
|
2009-03-12 Craig Howland <howland@LGSInnovations.com>
|
||||||
|
|
||||||
|
* libc/stdio/swscanf.c: Some documentation corrections.
|
||||||
|
|
||||||
|
2009-03-12 Craig Howland <howland@LGSInnovations.com>
|
||||||
|
|
||||||
* libc/stdio/swprintf.c (_swprintf_r, swprintf):
|
* libc/stdio/swprintf.c (_swprintf_r, swprintf):
|
||||||
correct how terminating L'\0' is added;
|
correct how terminating L'\0' is added;
|
||||||
|
@ -229,7 +229,9 @@ DESCRIPTION
|
|||||||
enough to accept the sequence and a
|
enough to accept the sequence and a
|
||||||
terminating null character which will be added
|
terminating null character which will be added
|
||||||
automatically. (<[pattern]> is discussed in the paragraph following
|
automatically. (<[pattern]> is discussed in the paragraph following
|
||||||
this table). Corresponding <[arg]>: <<(char *arg)>>.
|
this table). Corresponding <[arg]>: <<(char *arg)>>.
|
||||||
|
If an <<l>> specifier is present, the corresponding <[arg]> is
|
||||||
|
a <<(wchar_t *arg)>>.
|
||||||
|
|
||||||
o d
|
o d
|
||||||
Reads a decimal integer into the corresponding <[arg]>: <<(int *arg)>>.
|
Reads a decimal integer into the corresponding <[arg]>: <<(int *arg)>>.
|
||||||
@ -280,7 +282,7 @@ DESCRIPTION
|
|||||||
Here are some <[pattern]> examples:
|
Here are some <[pattern]> examples:
|
||||||
o+
|
o+
|
||||||
o %[abcd]
|
o %[abcd]
|
||||||
matches wide wide character strings containing only
|
matches wide character strings containing only
|
||||||
<<a>>, <<b>>, <<c>>, and <<d>>.
|
<<a>>, <<b>>, <<c>>, and <<d>>.
|
||||||
|
|
||||||
o %[^abcd]
|
o %[^abcd]
|
||||||
@ -290,6 +292,7 @@ DESCRIPTION
|
|||||||
o %[A-DW-Z]
|
o %[A-DW-Z]
|
||||||
Note: No wide character ranges, so this expression matches wide
|
Note: No wide character ranges, so this expression matches wide
|
||||||
character strings containing <<A>>, <<->>, <<D>>, <<W>>, <<Z>>.
|
character strings containing <<A>>, <<->>, <<D>>, <<W>>, <<Z>>.
|
||||||
|
o-
|
||||||
|
|
||||||
Floating point numbers (for field types <<e>>, <<f>>, <<g>>, <<E>>,
|
Floating point numbers (for field types <<e>>, <<f>>, <<g>>, <<E>>,
|
||||||
<<F>>, <<G>>) must correspond to the following general form:
|
<<F>>, <<G>>) must correspond to the following general form:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user