summaryrefslogtreecommitdiff
path: root/lib/libc/gen/time.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r201194:Konstantin Belousov2010-01-051-4/+3
| | | | | | | | Use clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) for implementation of time(3). CLOCK_SECOND is much faster. Notes: svn path=/stable/8/; revision=201574
* 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
* C99 compliance: time() always sets its return value in both placesGarrett Wollman2003-07-191-4/+7
| | | | | | | | | (if present), even on error. Pointed out by: Wojtek Lerch, on the Austin Group mailing-list Notes: svn path=/head/; revision=117753
* Whitespace after keywords per style(9).Garrett Wollman2003-07-181-2/+2
| | | | Notes: svn path=/head/; revision=117735
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-0/+2
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+52
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573