obrien
08cf798f1d
Remove bogus FBSDID.
2004-05-02 20:13:29 +00:00
das
0342c52a18
Merge vfscanf.c, v1.37:
...
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
2004-05-02 10:56:26 +00:00
tjr
1c584f59a5
Prepare to handle trivial state-dependent encodings. Full support for
...
state-dependent encodings with locking shifts will come later if there
is demand for it.
2004-04-07 09:55:05 +00:00
das
a3a1377ebf
Merge vfscanf.c,v 1.35.
2004-01-31 23:18:53 +00:00
nectar
a455b2e93e
Make intentions explicit with additional parenthesis.
2004-01-06 18:32:24 +00:00
tjr
736d21ee30
Pass NULL instead of a pointer to a zeroed mbstate_t object.
2003-11-05 08:20:45 +00:00
tjr
8f7372609c
Fix two incorrect uses of sizeof: we need to divide the size of the buffer
...
by sizeof(wchar_t) to get the number of wide characters it contains.
Remove the !hardway micro-optimisation from the CT_INT case to avoid
having to fix it for wide characters.
2003-07-05 03:39:23 +00:00
tjr
c80ccf2b5d
Merge recent floating point conversion changes from vfscanf.c.
2003-07-05 02:35:06 +00:00
tjr
7d29f30b2b
No need to include floatio.h here: vfscanf() no longer uses anything
...
it defines.
2002-11-01 05:13:01 +00:00
tjr
235c4480d3
The field width for single-byte string conversions (%c, %s, %[) is the
...
maximum number of bytes that may be stored in the array, not the maximum
number of wide characters to read. The wording of the standard unfortunately
does not make this clear.
2002-10-17 12:02:36 +00:00
tjr
92cc4a5bcb
Remove an unneeded call to _sfrefill() that was missed in the conversion
...
from vfscanf() to vfwscanf(). It doesn't hurt to have it there, but it's
redundant since __fgetwc() will refill the buffer if it needs to.
2002-09-24 09:18:32 +00:00
tjr
516923dd04
Add implementations of wscanf() and related functions: fwscanf(), swscanf(),
...
vfwscanf(), vswscanf(), vwscanf(). As the name suggests, these are wide-
character versions of the scanf() family of functions.
2002-09-23 12:40:06 +00:00