<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdio/printf.3, branch upstream/2.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F2.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F2.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1996-08-21T22:10:36Z</updated>
<entry>
<title>Update some more man pages to use the .Fx macro.</title>
<updated>1996-08-21T22:10:36Z</updated>
<author>
<name>Mike Pritchard</name>
<email>mpp@FreeBSD.org</email>
</author>
<published>1996-08-21T22:10:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2d402aa3c31a7d04a8bc2be5387920460b5ee40'/>
<id>urn:sha1:a2d402aa3c31a7d04a8bc2be5387920460b5ee40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reword the sentence about the required space for the result string.</title>
<updated>1996-06-09T06:48:42Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>1996-06-09T06:48:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d230d4275aef34bea1c1fd8e672a162cdc321492'/>
<id>urn:sha1:d230d4275aef34bea1c1fd8e672a162cdc321492</id>
<content type='text'>
Closes PR # 1303.-
</content>
</entry>
<entry>
<title>Add an implementation of the gnu-ish asprintf() and vasprintf().  They are</title>
<updated>1996-05-27T10:49:43Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-05-27T10:49:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=15aa00d597010009c3fb718ded37438aa3f601ab'/>
<id>urn:sha1:15aa00d597010009c3fb718ded37438aa3f601ab</id>
<content type='text'>
not based on gpl'ed code, just prototype and usage.  I'm not 100% certain
they behave the same while the system is in trouble (eg: malloc() failing)
but in those circumstances all bets would be off anyway.

These routines work like sprintf() and vsprintf(), except that instead of
using a fixed buffer, they allocate memory and return it to the user
and it's the user's responsibility to free() it.  They have allocate as
much memory as they need (and can get), so the size of strings it can deal
with is limited only by the amount of memory it can malloc() on your
behalf.

There are a few gpl'ed programs starting to use this interface, and it's
becoming more common with the scares about security risks with sprintf().
I dont like the look of the code that the various programs (including
cvs, gdb, libg++, etc) provide if configure can't find it on the system.

It should be possible to modify the stdio core code to provide this
interface more efficiently, I was more worried about having something
that worked and was secure.  :-)  (I noticed that there was once intended
to be a smprintf() routine when our stdio was written for 4.4BSD, but it
looks pretty stillborn, and it's intended interface is not clear).  Since
Linux and gnu libc have this interface, it seemed silly to bring yet
another one onto the scene.
</content>
</entry>
<entry>
<title>Correct a minor typo.  Fixes part of PR#1000.</title>
<updated>1996-04-09T21:48:21Z</updated>
<author>
<name>Mike Pritchard</name>
<email>mpp@FreeBSD.org</email>
</author>
<published>1996-04-09T21:48:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=20631f47f16df06373ffdbbc2f2d4a4307f0b047'/>
<id>urn:sha1:20631f47f16df06373ffdbbc2f2d4a4307f0b047</id>
<content type='text'>
Submitted by:	Dave Glowacki &lt;dglo@ssec.wisc.edu&gt;
</content>
</entry>
<entry>
<title>Fixed typo.</title>
<updated>1995-05-15T12:23:03Z</updated>
<author>
<name>David Greenman</name>
<email>dg@FreeBSD.org</email>
</author>
<published>1995-05-15T12:23:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dbe38b75e5bfe6470c657079040eda053ed84d03'/>
<id>urn:sha1:dbe38b75e5bfe6470c657079040eda053ed84d03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BSD 4.4 Lite Lib Sources</title>
<updated>1994-05-27T05:00:24Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-05-27T05:00:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=58f0484fa251c266ede97b591b499fe3dd4f578e'/>
<id>urn:sha1:58f0484fa251c266ede97b591b499fe3dd4f578e</id>
<content type='text'>
</content>
</entry>
</feed>
