<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/clock_gettime.2, branch release/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r315694</title>
<updated>2017-03-25T00:52:33+00:00</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2017-03-25T00:52:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6e1fe221af0b3bb4f7a43ea06d808ac6dcc07fb8'/>
<id>6e1fe221af0b3bb4f7a43ea06d808ac6dcc07fb8</id>
<content type='text'>
clock_gettime.2: add some clock IDs

Add the CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clock_id
values to the clock_gettime(2) man page.  Reformat the excessively
long paragraph (sentence!) into a tag list.

Sponsored by:	Dell EMC
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clock_gettime.2: add some clock IDs

Add the CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clock_id
values to the clock_gettime(2) man page.  Reformat the excessively
long paragraph (sentence!) into a tag list.

Sponsored by:	Dell EMC
</pre>
</div>
</content>
</entry>
<entry>
<title>Verify that tv_sec value specified in settimeofday() and clock_settime()</title>
<updated>2015-12-27T15:37:07+00:00</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2015-12-27T15:37:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e18d701dea5599d1d4a2c4c9c481c52853cf644'/>
<id>3e18d701dea5599d1d4a2c4c9c481c52853cf644</id>
<content type='text'>
(CLOCK_REALTIME case) system calls is non negative.
This commit hides a kernel panic in atrtc_settime() as the clock_ts_to_ct()
does not properly convert negative tv_sec.

ps. in my opinion clock_ts_to_ct() should be rewritten to properly handle
negative tv_sec values.

Differential Revision:	https://reviews.freebsd.org/D4714
Reviewed by:		kib

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(CLOCK_REALTIME case) system calls is non negative.
This commit hides a kernel panic in atrtc_settime() as the clock_ts_to_ct()
does not properly convert negative tv_sec.

ps. in my opinion clock_ts_to_ct() should be rewritten to properly handle
negative tv_sec values.

Differential Revision:	https://reviews.freebsd.org/D4714
Reviewed by:		kib

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.</title>
<updated>2015-12-20T15:11:11+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2015-12-20T15:11:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=11022e84d89a0eaece6bfa81707523bc84cc914a'/>
<id>11022e84d89a0eaece6bfa81707523bc84cc914a</id>
<content type='text'>
Depending on system configuration and parameters, clock_gettime() and
gettimeofday() may not be system calls. If so, passing an invalid pointer
will cause a signal and not an [EFAULT] error.

From a standards perspective, this is OK since passing an invalid pointer is
undefined behaviour.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Depending on system configuration and parameters, clock_gettime() and
gettimeofday() may not be system calls. If so, passing an invalid pointer
will cause a signal and not an [EFAULT] error.

From a standards perspective, this is OK since passing an invalid pointer is
undefined behaviour.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc: drop redundant .Pp and .LP calls</title>
<updated>2010-10-08T12:40:16+00:00</updated>
<author>
<name>Ulrich Spörlein</name>
<email>uqs@FreeBSD.org</email>
</author>
<published>2010-10-08T12:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0d9deed52c5ed3b24d2da5ec3a0a172fe9092a96'/>
<id>0d9deed52c5ed3b24d2da5ec3a0a172fe9092a96</id>
<content type='text'>
They have no effect when coming in pairs, or before .Bl/.Bd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They have no effect when coming in pairs, or before .Bl/.Bd
</pre>
</div>
</content>
</entry>
<entry>
<title>Document _FAST and _PRECISE clocks.</title>
<updated>2009-12-29T15:58:10+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-12-29T15:58:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d439b6c223eb978b4bb6a920b4b44a1be3dbb288'/>
<id>d439b6c223eb978b4bb6a920b4b44a1be3dbb288</id>
<content type='text'>
Submitted by:	Valentin Nechayev &lt;netch segfault kiev ua&gt;
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Valentin Nechayev &lt;netch segfault kiev ua&gt;
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).</title>
<updated>2009-12-29T14:29:08+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-12-29T14:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5d2874abdda9d9a7209a68e5cbac409f2330464a'/>
<id>5d2874abdda9d9a7209a68e5cbac409f2330464a</id>
<content type='text'>
Based on submission by:	pluknet gmail com
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on submission by:	pluknet gmail com
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing words.</title>
<updated>2008-02-25T13:03:18+00:00</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2008-02-25T13:03:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=636133e3ddb28324c7e269cb94d29fb4b1b790ac'/>
<id>636133e3ddb28324c7e269cb94d29fb4b1b790ac</id>
<content type='text'>
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Per Regents of the University of Calfornia letter, remove advertising</title>
<updated>2007-01-09T00:28:16+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-01-09T00:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c879ae3536e6d92b8d96c8965c5b05fcb9541520'/>
<id>c879ae3536e6d92b8d96c8965c5b05fcb9541520</id>
<content type='text'>
clause.

# If I've done so improperly on a file, please let me know.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clause.

# If I've done so improperly on a file, please let me know.
</pre>
</div>
</content>
</entry>
<entry>
<title>- clock_gettime is in time.h instead of sys/time.h</title>
<updated>2006-11-04T09:35:36+00:00</updated>
<author>
<name>Daniel Gerzo</name>
<email>danger@FreeBSD.org</email>
</author>
<published>2006-11-04T09:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=137e54d3db759a6983d71e1ded4277aecdb6a4d1'/>
<id>137e54d3db759a6983d71e1ded4277aecdb6a4d1</id>
<content type='text'>
Approved by: trhodes (mentor), keramida (mentor)
PR: docs/104707
MFC-after: 3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by: trhodes (mentor), keramida (mentor)
PR: docs/104707
MFC-after: 3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Markup fixes.</title>
<updated>2006-09-17T21:27:35+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-09-17T21:27:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a73a3ab56baabfbc4b63c100ee64951a407e9416'/>
<id>a73a3ab56baabfbc4b63c100ee64951a407e9416</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
