summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/floatio.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-28 08:24:46 +0000
committertjr <tjr@FreeBSD.org>2002-10-28 08:24:46 +0000
commit61b6263e81ed643acb29797a44b7699b8f01123d (patch)
tree89211f3df1b854343a8ab5c55df5f6568856af88 /lib/libc/stdio/floatio.h
parente3283252f9faf305c9d6485bf3a3e172fe91bfed (diff)
downloadFreeBSD-src-61b6263e81ed643acb29797a44b7699b8f01123d.zip
FreeBSD-src-61b6263e81ed643acb29797a44b7699b8f01123d.tar.gz
Handle boundary cases more correctly; mblen(s, 0) and mbtowc(NULL, s, 0)
return -1 regardless of what s points to, mbtowc(&w, s, 1) sets w to a null wide character when s points to a null byte. This seems to be closer to what most other implementations do, but the C99 standard contradicts itself for these cases.
Diffstat (limited to 'lib/libc/stdio/floatio.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud