aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/clock_gettime.2
Commit message (Collapse)AuthorAgeFilesLines
* clock_gettime(2): add a HISTORY sectionAlan Somers2019-12-071-1/+9
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=355489
* clock_gettime.2: add some clock IDsEric van Gyzen2017-03-221-26/+36
| | | | | | | | | | | | | 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. Reported by: jilles in https://reviews.freebsd.org/D10020 MFC after: 3 days Sponsored by: Dell EMC Notes: svn path=/head/; revision=315694
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Verify that tv_sec value specified in settimeofday() and clock_settime()Dmitry Chagin2015-12-271-1/+3
| | | | | | | | | | | | | | | | | (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 Notes: svn path=/head/; revision=292777
* clock_gettime(2),gettimeofday(2): Remove [EFAULT] error.Jilles Tjoelker2015-12-201-5/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=292513
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-1/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* Document _FAST and _PRECISE clocks.Konstantin Belousov2009-12-291-10/+40
| | | | | | | | Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 3 days Notes: svn path=/head/; revision=201204
* Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).Konstantin Belousov2009-12-291-3/+6
| | | | | | | | Based on submission by: pluknet gmail com MFC after: 3 days Notes: svn path=/head/; revision=201201
* Add missing words.Christian Brueffer2008-02-251-2/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=176551
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* - clock_gettime is in time.h instead of sys/time.hDaniel Gerzo2006-11-041-3/+3
| | | | | | | | | Approved by: trhodes (mentor), keramida (mentor) PR: docs/104707 MFC-after: 3 days Notes: svn path=/head/; revision=163981
* Markup fixes.Ruslan Ermilov2006-09-171-5/+12
| | | | Notes: svn path=/head/; revision=162385
* Document CLOCK_UPTIME which returns the current uptime in SI seconds.Andre Oppermann2005-11-181-1/+3
| | | | | | | | | | At the moment it is just an alias for CLOCK_MONOTONIC which reports the same number. Sponsored by: TCP/IP Optimization Fundraise 2005 Notes: svn path=/head/; revision=152587
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131504
* Spelling fixes.Mike Pritchard2004-06-211-1/+1
| | | | Notes: svn path=/head/; revision=130865
* CLOCK_PROF and CLOCK_VIRTUAL are implemented now.Kelly Yancey2004-06-171-7/+1
| | | | Notes: svn path=/head/; revision=130655
* mdoc(7): Properly mark C headers.Ruslan Ermilov2003-09-101-1/+1
| | | | Notes: svn path=/head/; revision=119964
* Mention CLOCK_MONOTONIC.Poul-Henning Kamp2003-02-231-2/+3
| | | | Notes: svn path=/head/; revision=111301
* Mention that the CLOCK_VIRTUAL and CLOCK_PROF clocks are not implemented.Tim J. Robbins2003-02-051-1/+7
| | | | | | | PR: 8376 Notes: svn path=/head/; revision=110369
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-0/+3
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: Tidy up the syscall language.Ruslan Ermilov2002-12-181-4/+7
| | | | | | | | | | | | | Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe. Notes: svn path=/head/; revision=108028
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* Use ``.Rv -std'' wherever possible.Ruslan Ermilov2001-08-311-4/+1
| | | | | | | Submitted by: yar Notes: svn path=/head/; revision=82642
* mdoc(7) police: protect trailing full stops of abbreviationsRuslan Ermilov2001-08-101-1/+1
| | | | | | | with a trailing zero-width space: `e.g.\&'. Notes: svn path=/head/; revision=81449
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/head/; revision=71097
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-171-1/+1
| | | | Notes: svn path=/head/; revision=68854
* Use `Er' variable to define first column width in ERRORS section. It wasAlexey Zelkin2000-05-041-1/+1
| | | | | | | initially suggested by mdoc(7) style, but was broken over the years Notes: svn path=/head/; revision=59954
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Fixed wrong prototype for clock_getres().Bruce Evans1998-01-161-2/+2
| | | | Notes: svn path=/head/; revision=32564
* Man pages for clock_{get/set}time() and clock_getres().Peter Wemm1997-05-121-0/+124
Obtained from: kstailey@openbsd.org via OpenBSD sources Notes: svn path=/head/; revision=25744