]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace my original asprintf() and vasprintf() hacks with something
authorPeter Wemm <peter@FreeBSD.org>
Wed, 8 Jul 1998 00:44:56 +0000 (00:44 +0000)
committerPeter Wemm <peter@FreeBSD.org>
Wed, 8 Jul 1998 00:44:56 +0000 (00:44 +0000)
commit64a965e7078acf9079cbe7f2c001852d4f6f2832
treed6005da7a2cb386634264fa94eb6f2e530f58edc
parent0cc5719c0ab3056a57719c13edb1d65234911c64
Replace my original asprintf() and vasprintf() hacks with something
more cleanly integrated with stdio.  This should be faster and cleaner
since it doesn't memcpy() the data into a seperate buffer.  This lets
stdio allocate and manage the buffer and then hand it over to the user.

Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD
lib/libc/stdio/asprintf.c
lib/libc/stdio/fvwrite.c
lib/libc/stdio/printf.3
lib/libc/stdio/vasprintf.c