<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/time.h, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2020-07-21T08:12:53Z</updated>
<entry>
<title>MFC r363193:</title>
<updated>2020-07-21T08:12:53Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-07-21T08:12:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cd237bdea7700a0d134fe08cad8b18281df29261'/>
<id>urn:sha1:cd237bdea7700a0d134fe08cad8b18281df29261</id>
<content type='text'>
Make CLOCK_REALTIME and TIMER_ABSTIME available for XOPEN_SOURCE &gt;= 500.

PR:	247701
</content>
</entry>
<entry>
<title>MFC r355568:</title>
<updated>2019-12-12T18:16:32Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2019-12-12T18:16:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76011e8367fb6cbc4da1d4ea6a27dd106e462d25'/>
<id>urn:sha1:76011e8367fb6cbc4da1d4ea6a27dd106e462d25</id>
<content type='text'>
Correctly check for C++17 and higher when declaring timespec_get()

Summary:
In rS338751, the check to declare `timespec_get()` for C++17 and higher
was incorrectly done against a `cplusplus` define, while it should have
been `__cplusplus`.

Fix this by using `__cplusplus`, and also bump `__FreeBSD_version` so it
becomes possible to correctly check for `timespec_get()` in upstream
libc++ headers.

Reviewed by:	brooks, emaste
Differential Revision: https://reviews.freebsd.org/D22735
</content>
</entry>
<entry>
<title>Fix C11 and POSIX 1003.1b-1993 compliance in time.h</title>
<updated>2018-09-18T15:31:24Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2018-09-18T15:31:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d02489d11aed2aa5410889f18f4fe8a356f4ca3b'/>
<id>urn:sha1:d02489d11aed2aa5410889f18f4fe8a356f4ca3b</id>
<content type='text'>
Only expose timespec_get in C11, C++17, or BSD code.  Always define
struct timespect if defining timespec_get.

PR:		231425
Reviewed by:	kib
Approved by:	re (gjb)
Differential Revision:	https://reviews.freebsd.org/D17174
</content>
</entry>
<entry>
<title>Bring in timespce_get form NetBSD.</title>
<updated>2018-08-10T15:16:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-08-10T15:16:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e299411ac91383d8a28de9fadd2b4ed8a148fff'/>
<id>urn:sha1:7e299411ac91383d8a28de9fadd2b4ed8a148fff</id>
<content type='text'>
Bring in the functionality for timespec_get from NetBSD. I've lightly
edited the .c file to remove _DIAGASSERT because FreeBSD doesn't have
that functionality and the typical #define'ing it to assert isn't
right here. The man page is verbatim from NetBSD, but will be revised
as part of a larger cleanup of the time man pages (they are
inconsistent and vague in all the wrong places).

Differential Review: https://reviews.freebsd.org/D16649
</content>
</entry>
<entry>
<title>Add time2posix and posix2time to time.h</title>
<updated>2018-05-25T13:40:05Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-05-25T13:40:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe9fbe221db15dc2e9cbddf3af8b0e5af90ae891'/>
<id>urn:sha1:fe9fbe221db15dc2e9cbddf3af8b0e5af90ae891</id>
<content type='text'>
These are documented in `time2posix.3` but the symbols are not actually
visible. Since these are not POSIX hide them behind _BSD_VISIBLE.

Reviewed by:		wollman
Differential Revision:	https://reviews.freebsd.org/D15530
</content>
</entry>
<entry>
<title>Do not include float interfaces when using libsa.</title>
<updated>2018-02-23T04:04:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2018-02-23T04:04:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef1fcaf0f5bf501986c4c3d5c260c020eec57a92'/>
<id>urn:sha1:ef1fcaf0f5bf501986c4c3d5c260c020eec57a92</id>
<content type='text'>
We don't support float in the boot loaders, so don't include
interfaces for float or double in systems headers. In addition, take
the unusual step of spiking double and float to prevent any more
accidental seepage.
</content>
</entry>
<entry>
<title>include: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-20T19:45:28Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-20T19:45:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2321c474185e657ad1bdb4ef0a323cb10ba09cfc'/>
<id>urn:sha1:2321c474185e657ad1bdb4ef0a323cb10ba09cfc</id>
<content type='text'>
Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
</content>
</entry>
<entry>
<title>Add clock_nanosleep()</title>
<updated>2017-03-19T00:51:12Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2017-03-19T00:51:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f8455b0905a05552b1155e09165787e1d098060'/>
<id>urn:sha1:3f8455b0905a05552b1155e09165787e1d098060</id>
<content type='text'>
Add a clock_nanosleep() syscall, as specified by POSIX.
Make nanosleep() a wrapper around it.

Attach the clock_nanosleep test from NetBSD. Adjust it for the
FreeBSD behavior of updating rmtp only when interrupted by a signal.
I believe this to be POSIX-compliant, since POSIX mentions the rmtp
parameter only in the paragraph about EINTR. This is also what
Linux does. (NetBSD updates rmtp unconditionally.)

Copy the whole nanosleep.2 man page from NetBSD because it is complete
and closely resembles the POSIX description. Edit, polish, and reword it
a bit, being sure to keep any relevant text from the FreeBSD page.

Reviewed by:	kib, ngie, jilles
MFC after:	3 weeks
Relnotes:	yes
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D10020
</content>
</entry>
<entry>
<title>Export the mq_getfd_np() symbol from librt.so, which allows to get</title>
<updated>2016-10-02T17:02:59Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-10-02T17:02:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0'/>
<id>urn:sha1:ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0</id>
<content type='text'>
file descriptor for the given posix mqueue.  Export the
timer_oshandle_np() symbol to get ktimer id for the given posix timer.

Requested by:	Lewis Donzis &lt;lew@perftech.com&gt;
Reviewed by:	jilles
Discussed with:	kan
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add CLOCK_PROCESS_CPUTIME_ID to &lt;time.h&gt;, to synchronize the CLOCK_*</title>
<updated>2013-01-14T18:01:19Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2013-01-14T18:01:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c0e8ea253fea6c0712daa4f9124baa8c479713db'/>
<id>urn:sha1:c0e8ea253fea6c0712daa4f9124baa8c479713db</id>
<content type='text'>
values with those in &lt;sys/time.h&gt;.  Otherwise, if a program includes
&lt;time.h&gt; before &lt;sys/time.h&gt;, the CLOCK_PROCESS_CPUTIME_ID macro never
gets defined.

Reviewed by:	davidxu
X-MFC-With:	239347
</content>
</entry>
</feed>
