Home
last modified time | relevance | path

Searched hist:d7af8cf14be778fbf7f6ebc84346ae88fbd6978f (Results 1 – 3 of 3) sorted by relevance

/freebsd/lib/libc/stdio/
H A Dfgetwc.cdiff d7af8cf14be778fbf7f6ebc84346ae88fbd6978f Sun Apr 29 18:28:39 CEST 2012 David Schultz <das@FreeBSD.org> Previously, vfscanf()'s wide character processing functions were
reading wide characters manually. With this change, they now use
fgetwc(). To make this work, we use an internal version of fgetwc()
with a few extensions: it takes an mbstate * because non-wide streams
don't have a built-in mbstate, and it indicates the number of bytes
read.

vfscanf() now resembles vfwscanf() more closely. Minor functional
improvements include working xlocale support in vfscanf(), setting the
stream error indicator on encoding errors, and proper handling of
shift-based encodings. (Actually, making shift-based encodings work
with non-wide streams is hopeless, but the implementation now matches
the broken specification.)
H A Dlocal.hdiff d7af8cf14be778fbf7f6ebc84346ae88fbd6978f Sun Apr 29 18:28:39 CEST 2012 David Schultz <das@FreeBSD.org> Previously, vfscanf()'s wide character processing functions were
reading wide characters manually. With this change, they now use
fgetwc(). To make this work, we use an internal version of fgetwc()
with a few extensions: it takes an mbstate * because non-wide streams
don't have a built-in mbstate, and it indicates the number of bytes
read.

vfscanf() now resembles vfwscanf() more closely. Minor functional
improvements include working xlocale support in vfscanf(), setting the
stream error indicator on encoding errors, and proper handling of
shift-based encodings. (Actually, making shift-based encodings work
with non-wide streams is hopeless, but the implementation now matches
the broken specification.)
H A Dvfscanf.cdiff d7af8cf14be778fbf7f6ebc84346ae88fbd6978f Sun Apr 29 18:28:39 CEST 2012 David Schultz <das@FreeBSD.org> Previously, vfscanf()'s wide character processing functions were
reading wide characters manually. With this change, they now use
fgetwc(). To make this work, we use an internal version of fgetwc()
with a few extensions: it takes an mbstate * because non-wide streams
don't have a built-in mbstate, and it indicates the number of bytes
read.

vfscanf() now resembles vfwscanf() more closely. Minor functional
improvements include working xlocale support in vfscanf(), setting the
stream error indicator on encoding errors, and proper handling of
shift-based encodings. (Actually, making shift-based encodings work
with non-wide streams is hopeless, but the implementation now matches
the broken specification.)