summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/snprintf.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2012-04-21 06:09:09 +0000
committerdas <das@FreeBSD.org>2012-04-21 06:09:09 +0000
commiteac48bba4cc5551ad13c07070a93014c28b6a1cd (patch)
treed019a380cc0c81d203a766348e68bc83b5f5ba87 /lib/libc/stdio/snprintf.c
parent8595324df362b03e7f89d001d9ba51dddcc6a02e (diff)
downloadFreeBSD-src-eac48bba4cc5551ad13c07070a93014c28b6a1cd.zip
FreeBSD-src-eac48bba4cc5551ad13c07070a93014c28b6a1cd.tar.gz
- Fix the claim that the output is always null-terminated. This isn't
true if the size is zero. - Fix a claim that sprintf() is the same as snprintf() with an infinite size. It's equivalent to snprintf() with a size of INT_MAX + 1. - Document the return values in the return values section. - Document the possible errno value of EOVERFLOW. MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdio/snprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud