OSDN Git Service

(split) LDP: Update original to LDP v3.40.
[linuxjm/LDP_man-pages.git] / original / man2 / gettimeofday.2
index 04982e5..6f35e1c 100644 (file)
@@ -37,7 +37,7 @@
 .\" Modified, 2004-05-27 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"   Added notes on capability requirement.
 .\"
-.TH GETTIMEOFDAY 2 2012-04-12 "Linux" "Linux Programmer's Manual"
+.TH GETTIMEOFDAY 2 2012-04-26 "Linux" "Linux Programmer's Manual"
 .SH NAME
 gettimeofday, settimeofday \- get / set time
 .SH SYNOPSIS
@@ -170,6 +170,14 @@ as obsolete, recommending the use of
 .BR clock_gettime (2)
 instead.
 .SH NOTES
+The time returned by
+.BR gettimeofday (2)
+.I is
+affected by discontinuous jumps in the system time
+(e.g., if the system administrator manually changes the system time).
+If you need a monotonically increasing clock, see
+.BR clock_gettime (2).
+
 Macros for operating on
 .I timeval
 structures are described in
@@ -236,6 +244,7 @@ has been abandoned.
 .SH "SEE ALSO"
 .BR date (1),
 .BR adjtimex (2),
+.BR clock_gettime (2),
 .BR time (2),
 .BR ctime (3),
 .BR ftime (3),