*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: time | Section: 3 | Source: OpenBSD | File: time.3
TIME(3) FreeBSD Library Functions Manual TIME(3) NAME time - get time of day SYNOPSIS #include <time.h> time_t time(time_t *now); DESCRIPTION The time() function returns the number of seconds elapsed since Jan 1 1970 00:00:00 UTC. This value is also written to now unless now is NULL. RETURN VALUES The time() function is always successful, and no return value is reserved to indicate an error. SEE ALSO clock_gettime(2), gettimeofday(2), ctime(3) STANDARDS The time() function conforms to IEEE Std 1003.1-2008 ("POSIX.1"). HISTORY A time() system call first appeared in Version 1 AT&T UNIX. That version counted time in sixtieths of a second with a 32-bit return value, ensuring an integer overflow crisis every 2.26 years. In Version 6 AT&T UNIX the granularity of the return value was reduced to whole seconds, delaying the aforementioned crisis until 2038. In 4.1cBSD the function was moved out of the kernel into the C standard library and reimplemented with gettimeofday(2). FreeBSD 14.1-RELEASE-p8 December 11, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options