<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdio, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-08-07T16:20:07Z</updated>
<entry>
<title>tmpnam(3): Also mention tmpfile in the ENVIRONMENT section</title>
<updated>2020-08-07T16:20:07Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2020-08-07T16:20:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1f325602e470231d230d79526e98c4000403ca41'/>
<id>urn:sha1:1f325602e470231d230d79526e98c4000403ca41</id>
<content type='text'>
PR:		181785
Submitted by:	Kevin P. Neal &lt;kpneal atpobox dot com&gt;
MFC after:	1 week
</content>
</entry>
<entry>
<title>fgetln(3): Add a Caveats Section</title>
<updated>2020-06-18T13:13:04Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2020-06-18T13:13:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b7d33ccd650cc2b6822bd4c0ea126d1c2a724105'/>
<id>urn:sha1:b7d33ccd650cc2b6822bd4c0ea126d1c2a724105</id>
<content type='text'>
Reviewed by:	yuripv, bcr (mentor)
Approved by:	bcr (mentror)
Obtained from:	OpenBSD
MFC after:	7 days
Differential Revision:	https://reviews.freebsd.org/D24916
</content>
</entry>
<entry>
<title>libc manpages: various improvements from NetBSD</title>
<updated>2020-06-14T05:59:30Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2020-06-14T05:59:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e0f7c06de24828c83c424b6caba8b7e5fe75f5b2'/>
<id>urn:sha1:e0f7c06de24828c83c424b6caba8b7e5fe75f5b2</id>
<content type='text'>
- Add STANDARDS and HISTORY sections within the appropriate manpages
- Mention two USENIX papers within kqueue(2) and strlcpy(3)

Reviewed by:	bcr (mentor)
Approved by:	bcr (mentor)
Obtained from:	NetBSD
MFC after:	7 days
Differential Revision: https://reviews.freebsd.org/D24650
</content>
</entry>
<entry>
<title>Add HISTORY section to getc(3)</title>
<updated>2020-04-10T09:37:20Z</updated>
<author>
<name>Sergio Carlavilla Delgado</name>
<email>carlavilla@FreeBSD.org</email>
</author>
<published>2020-04-10T09:37:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=73129d4797117a0cf410f4d55712d61df2a52bca'/>
<id>urn:sha1:73129d4797117a0cf410f4d55712d61df2a52bca</id>
<content type='text'>
PR:		240269
Submitted by:	Gordon Bergling
Differential Revision:	https://reviews.freebsd.org/D24295
</content>
</entry>
<entry>
<title>Note some functions that appeared in First Edition Unix</title>
<updated>2020-04-01T22:50:41Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2020-04-01T22:50:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5310132318213270ac0c9ca014dcc8778cdb576a'/>
<id>urn:sha1:5310132318213270ac0c9ca014dcc8778cdb576a</id>
<content type='text'>
These functions first appeared in the First Edition of Unix (or earlier in the
pdp-7 version). Just claim 1st Edition for all this. The pdp-7 code is too
fragmented at this point to extend history that far back.
</content>
</entry>
<entry>
<title>libc: provide fputc_unlocked</title>
<updated>2020-02-02T19:45:12Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-02T19:45:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b85ea8097515af5bef659c0abf2340e03183f7e8'/>
<id>urn:sha1:b85ea8097515af5bef659c0abf2340e03183f7e8</id>
<content type='text'>
Among the same justification as the other stdio _unlocked; in addition to an
inline version in &lt;stdio.h&gt;, we must provide a function in libc as well for
the functionality. This fixes the lang/gcc* builds, which want to use the
symbol from libc.

PR:		243810
Reported by:	antoine, swills, Michael &lt;michael.adm gmail com&gt;
X-MFC-With:	r357284
</content>
</entry>
<entry>
<title>stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite</title>
<updated>2020-01-30T03:31:16Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-01-30T03:31:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=12fe218f0bf6043be71f42529868da47ed094c02'/>
<id>urn:sha1:12fe218f0bf6043be71f42529868da47ed094c02</id>
<content type='text'>
fflush_unlocked is currently desired in ports by sysutils/metalog, and
redefined as the locked fflush.

fputc_unlocked, fputs_unlocked, fread_unlocked, and fwrite_unlocked are
currently desired in ports by devel/elfutils, and redefined as the locked
fputs, fread, and fwrite respectively.

Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D23336
</content>
</entry>
<entry>
<title>libc: remove gets</title>
<updated>2019-09-01T16:12:05Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-09-01T16:12:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7381dcc9eeb7da1b1ba103212e15561e14b48a8d'/>
<id>urn:sha1:7381dcc9eeb7da1b1ba103212e15561e14b48a8d</id>
<content type='text'>
gets is unsafe and shouldn't be used (for many years now).  Leave it in
the existing symbol version so anything that previously linked aginst it
still runs, but do not allow new software to link against it.

(The compatability/legacy implementation must not be static so that
the symbol and in particular the compat sym gets@FBSD_1.0 make it
into libc.)

PR:		222796 (exp-run)
Reported by:	Paul Vixie
Reviewed by:	allanjude, cy, eadler, gnn, jhb, kib, ngie (some earlier)
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12298
</content>
</entry>
<entry>
<title>Add mkostempsat(3).</title>
<updated>2019-07-29T19:02:16Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2019-07-29T19:02:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=076574744c20de3296e8f9f9e0f7ef946a78a431'/>
<id>urn:sha1:076574744c20de3296e8f9f9e0f7ef946a78a431</id>
<content type='text'>
This is a variant of mkostemps() which takes a directory descriptor and
returns a descriptor for a tempfile relative to that directory.  Unlike
the other mktemp functions, mkostempsat() can be used in capability
mode.

Reviewed by:	cem
Discussed with:	brooks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D21031
</content>
</entry>
<entry>
<title>GC a historical artifact.</title>
<updated>2019-02-07T23:17:44Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2019-02-07T23:17:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=60835849e5016a893443ec72c8005c57f1b5d24c'/>
<id>urn:sha1:60835849e5016a893443ec72c8005c57f1b5d24c</id>
<content type='text'>
Back in 1993, the fgetln (then fgetline) interface was changed to not
return a C string.  The change was accomplished by ifdefing out the code
that did the termination.  Changing the interface would violate our API
stability rules so remove the old implementation.

Sponsored by:	DARPA, AFRL
</content>
</entry>
</feed>
