summaryrefslogtreecommitdiffstats
path: root/include/time.h
Commit message (Collapse)AuthorAgeFilesLines
* It's not CUT (the french would accept that back in 1879) and TUC wasn'tphk2001-03-311-1/+5
| | | | | | | palatable to the rest of the world. UTC was the compromise. PR: 26238 Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.net>
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.dt1999-01-041-7/+4
|
* Change return type of strptime from const char* to char*.dt1998-09-121-1/+1
| | | | const char* was wrong and nonstandard.
* Add extern declaration for `tzname[]' to make this header comply betterjkoshy1998-08-211-0/+4
| | | | | | to POSIX90. 2-rounds-of-review-by: bde
* ctime_r and asctime_r are not implemented.phk1998-04-191-2/+2
| | | | | | | | prototypes in time.h do not match POSIX. PR: 6345 Reviewed by: phk Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-281-1/+7
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Import strptime(3) into libc. We've got permission by Kevin Ruddy tojoerg1997-08-091-0/+1
| | | | | | | | modify the original `no modifications' copyright message, and i've included his mail into the source file. The common localization functions between strptime(3) and strftime(3) have been broken out into timelocal.[ch].
* struct timespec needs to be useable with just <time.h>, but needs to notpeter1997-05-131-7/+27
| | | | | | conflict with the kernel visible one. Make the new stuff not visible if _ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are not part of the base 1003.1-1990 standard (or ansi).
* Add clockid_t definition like in sys/types.h to allow time.hache1997-05-131-0/+5
| | | | to be included without sys/types.h, it fixes broken groff compilation
* Oops, move clock_*() and nanosleep() to time.hpeter1997-05-121-0/+4
| | | | Submitted by: Peter Dufault <dufault@hda.com>
* Change prototypes for gmtime_r() and localtime_r() in accordance withhsu1996-11-111-3/+3
| | | | IEEE pthreads specification.
* Reviewed by: julian and (hsu?)julian1996-01-221-0/+7
| | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* Define CLK_TCK right.bde1995-02-081-1/+1
|
* Define CLOCKS_PER_SEC.bde1995-02-031-2/+11
| | | | | | | | Define CLK_TCK only if _ANSI_SOURCE is not defined. Don't include <machine/limits.h> to get the definition of CLK_TCK. CLK_TCK should never have been defined there, and the inclusion polluted the namespace.
* Declare useful functions (timelocal() and timegm())ache1994-12-261-0/+2
|
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-241-0/+104
OpenPOWER on IntegriCloud