summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/gettimeofday.211
1 files changed, 11 insertions, 0 deletions
diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2
index 9d134fa49..7c2892315 100644
--- a/man2/gettimeofday.2
+++ b/man2/gettimeofday.2
@@ -175,6 +175,17 @@ On some architectures, an implementation of
.BR gettimeofday ()
is provided in the
.BR vdso (7).
+.PP
+The kernel accepts NULL for both
+.I tv
+and
+.IR tz.
+The timezone argument is ignored by glibc and musl,
+and not passed to/from the kernel.
+Android's bionic passes the timezone argument to/from the kernel,
+but Android does not update the kernel timezone
+based on the device timezone in Settings,
+so the kernel's timezone is typically UTC.
.SH STANDARDS
.TP
.BR gettimeofday ()