summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/snprintf.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-12-24 23:23:18 +0000
committerache <ache@FreeBSD.org>1997-12-24 23:23:18 +0000
commit33cd251a1b5fd365424f8c5044b05822a430c102 (patch)
tree1b4868f15792a5fe101e4930c08a93586ab6ccfb /lib/libc/stdio/snprintf.c
parentd6bcc605a0dda1fae5485a69235f91b7eaa17666 (diff)
downloadFreeBSD-src-33cd251a1b5fd365424f8c5044b05822a430c102.zip
FreeBSD-src-33cd251a1b5fd365424f8c5044b05822a430c102.tar.gz
1) Restore back comment about snprintf()
2) Optimize string buffer copy to call memcpy() and update pointers only for count > 0, it makes snprintf(NULL, 0, ...) more efficient
Diffstat (limited to 'lib/libc/stdio/snprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud