*** 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_second | Section: 9 | Source: NetBSD | File: time_second.9
TIME_SECOND(9) FreeBSD Kernel Developer's Manual TIME_SECOND(9) NAME time_second, time_uptime - system time variables SYNOPSIS #include <sys/time.h> extern time_t time_second; extern time_t time_uptime; DESCRIPTION The time_second variable is the system's "wall time" clock. It is set at boot by inittodr(9), and is updated periodically via timecounter(9) framework, and also updated by the settimeofday(2) system call. The time_uptime variable is a monotonically increasing system clock. It is set at boot, and is updated periodically. (It is not updated by settimeofday(2).) All of these variables contain times expressed in seconds since midnight (0 hour), January 1, 1970, UTC. The bintime(9), getbintime(9), microtime(9), getmicrotime(9), nanotime(9), and getnanotime(9) functions can be used to get the current time more accurately and in an atomic manner. Similarly, the binuptime(9), getbinuptime(9), microuptime(9), getmicrouptime(9), nanouptime(9), and getnanouptime(9) functions can be used to get the time elapsed since boot more accurately and in an atomic manner. SEE ALSO clock_settime(2), ntp_adjtime(2), timespec(3), hardclock(9), hz(9) FreeBSD 14.1-RELEASE-p8 April 17, 2020 FreeBSD 14.1-RELEASE-p8

Navigation Options