diff options
author | das <das@FreeBSD.org> | 2012-04-21 06:09:09 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2012-04-21 06:09:09 +0000 |
commit | eac48bba4cc5551ad13c07070a93014c28b6a1cd (patch) | |
tree | d019a380cc0c81d203a766348e68bc83b5f5ba87 /lib/libc/stdio/snprintf.c | |
parent | 8595324df362b03e7f89d001d9ba51dddcc6a02e (diff) | |
download | FreeBSD-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