diff options
author | peter <peter@FreeBSD.org> | 1998-07-08 00:44:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-07-08 00:44:56 +0000 |
commit | 22fd80b5ba14d8ddd9166a4d3bb4b21281197323 (patch) | |
tree | a91d76ac316b36b89aa7953b4b3aa9a1454caea8 /lib/libc/stdio/printf.3 | |
parent | 39ff18089a4cdb4c92375680b1f148ab86a589b7 (diff) | |
download | FreeBSD-src-22fd80b5ba14d8ddd9166a4d3bb4b21281197323.zip FreeBSD-src-22fd80b5ba14d8ddd9166a4d3bb4b21281197323.tar.gz |
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
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r-- | lib/libc/stdio/printf.3 | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 6d2affb..082be14 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -615,19 +615,15 @@ conform to .St -ansiC . .Sh HISTORY The functions -.Fn snprintf -and -.Fn vsnprintf -are new to this release. -.Pp -The functions .Fn asprintf and .Fn vasprintf -first appeared in the GNU C library. This implementation is thought -to be compatible but is not derived from the GNU code. This implementation -was written by Peter Wemm <peter@FreeBSD.org> and first appeared in -.Fx 2.2 . +first appeared in the GNU C library. +These were implemented by Peter Wemm <peter@FreeBSD.org> in +.Fx 2.2 , +but were later replaced with a different implementation +from Todd C. Miller <Todd.Miller@courtesan.com> for +.Ox 2.3 . .Sh BUGS The conversion formats .Cm \&%D , |