diff --git a/man7/time.7 b/man7/time.7 index a9282c45b..7b84c2d44 100644 --- a/man7/time.7 +++ b/man7/time.7 @@ -130,15 +130,18 @@ UNIX systems represent time in seconds since the .PP A program can determine the .I "calendar time" -using -.BR gettimeofday (2), -which returns time (in seconds and microseconds) that have +via the +.BR clock_gettime (2) +.BR CLOCK_REALTIME +clock, +which returns time (in seconds and nanoseconds) that have elapsed since the Epoch; .BR time (2) provides similar information, but only with accuracy to the nearest second. The system time can be changed using -.BR settimeofday (2). +.BR clock_settime (2). +.\" .SS Broken-down time Certain library functions use a structure of type