<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/stdio.h, branch upstream/10.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-10-08T14:10:45Z</updated>
<entry>
<title>MFC r306568, r306569</title>
<updated>2016-10-08T14:10:45Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2016-10-08T14:10:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0acd72fea3df73b15f1f24033e95f344e5b57372'/>
<id>urn:sha1:0acd72fea3df73b15f1f24033e95f344e5b57372</id>
<content type='text'>
Add the __printflike attribute to the declarations of
dprintf(3) and vdprintf(3).

Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>MFC r285140:</title>
<updated>2015-12-01T18:19:23Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-12-01T18:19:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d49a3c074ed1f5dc64deb77f8d53f0d6ab12c2e'/>
<id>urn:sha1:3d49a3c074ed1f5dc64deb77f8d53f0d6ab12c2e</id>
<content type='text'>
r285140 (by oshogbo):

Add fdclose(3) function.

This function is equivalent to fclose(3) function except that it
does not close the underlying file descriptor.
fdclose(3) is step forward to make FILE structure private.

Reviewed by:	wblock, jilles, jhb, pjd
Approved by:	pjd (mentor)
Differential Revision:	https://reviews.freebsd.org/D2697
</content>
</entry>
<entry>
<title>MFC: 	r289863,r289931,r290110,r290230,r290231,r290232</title>
<updated>2015-11-08T13:37:16Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2015-11-08T13:37:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ebe0f53597789057018d353c2b38b45470ea16e'/>
<id>urn:sha1:8ebe0f53597789057018d353c2b38b45470ea16e</id>
<content type='text'>
r290232:

Microoptimize.

r290231:

Addition to prev. commit.
In some edge cases fp-&gt;_p can be changed in _sseek(), recalculate.

r290230:

Don't seek to the end if write buffer is empty (in append modes).
PR:     204156

r290110:

Add _flags2 per jhb@ suggestion since no room left in _flags.
Rewrite O_APPEND flag checking using new __S2OAP flag.

r289931:

According to POSIX, a write operation shall start at the current size of
the stream (if mode had 'a' as the first character).

r289863:

Since no room left in the _flags, reuse __SALC for O_APPEND.
It helps to remove _fcntl() call from _ftello() and optimize seek position
calculation in _swrite().
</content>
</entry>
<entry>
<title>MFC r278600:</title>
<updated>2015-04-03T17:19:29Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-04-03T17:19:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05771b590ee6d3d6f42503cbb0c573e3898a400e'/>
<id>urn:sha1:05771b590ee6d3d6f42503cbb0c573e3898a400e</id>
<content type='text'>
  Correct and clarify comment for __SMBF.
</content>
</entry>
<entry>
<title>Add an implementation of open_memstream() and open_wmemstream().  These</title>
<updated>2013-02-27T19:50:46Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-02-27T19:50:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9240031ac655f4e3cd4bcf840f2efc5222d6fdbc'/>
<id>urn:sha1:9240031ac655f4e3cd4bcf840f2efc5222d6fdbc</id>
<content type='text'>
routines provide write-only stdio FILE objects that store their data in a
dynamically allocated buffer.  They are a string builder interface somewhat
akin to a completely dynamic sbuf.

Reviewed by:	bde, jilles (earlier versions)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along</title>
<updated>2013-01-30T14:59:26Z</updated>
<author>
<name>Pietro Cerutti</name>
<email>gahr@FreeBSD.org</email>
</author>
<published>2013-01-30T14:59:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=96c95412cafecdd39aaf1539ce712e4a24975c52'/>
<id>urn:sha1:96c95412cafecdd39aaf1539ce712e4a24975c52</id>
<content type='text'>
with the respective regression test.
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html

Reviewed by:	cognet
Approved by:	cognet
</content>
</entry>
<entry>
<title>Correctly expose xlocale functions if people include the headers in the wrong</title>
<updated>2012-03-28T12:11:54Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2012-03-28T12:11:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ac9d659890471a1936268bfec06e74caf9025df'/>
<id>urn:sha1:3ac9d659890471a1936268bfec06e74caf9025df</id>
<content type='text'>
order (as some ports apparently do).

Approved by:	dim (mentor)
</content>
</entry>
<entry>
<title>In POSIX.1-2008:</title>
<updated>2011-12-28T05:35:33Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2011-12-28T05:35:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c8fb747dc10ec2e99602b237a8fd5172b7c2308b'/>
<id>urn:sha1:c8fb747dc10ec2e99602b237a8fd5172b7c2308b</id>
<content type='text'>
P_tmpdir [OB XSI]  Default directory prefix for tempnam().

This macro is used in a lot of places in legacy applications,
and is why we see a lot of programs written for e.g. Linux
store volatile temporary files in /var/tmp and not /tmp.

MFC after:	2 months
</content>
</entry>
<entry>
<title>Restore __is_threaded in C++ mode.  Some Google stuff needs it apparently.</title>
<updated>2011-12-25T16:03:54Z</updated>
<author>
<name>David Chisnall</name>
<email>theraven@FreeBSD.org</email>
</author>
<published>2011-12-25T16:03:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eb1f614be5c8e1527fb292e5c928c354fc30be57'/>
<id>urn:sha1:eb1f614be5c8e1527fb292e5c928c354fc30be57</id>
<content type='text'>
Reported by:	swills
Approved by:	dim (mentor)
</content>
</entry>
<entry>
<title>Replace __const by const in all non-contributed source code.</title>
<updated>2011-12-13T13:32:56Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-12-13T13:32:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5'/>
<id>urn:sha1:f6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5</id>
<content type='text'>
As C1X is close to being released, there is no need to wrap around a
feature that is already part of C90. Most of these files already use
`const' in different placed as well.
</content>
</entry>
</feed>
