summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-04-19 16:12:05 +0000
committertedu <tedu@openbsd.org>2013-04-19 16:12:05 +0000
commit9617cc55109b8d15f597ad19679398202c03765a (patch)
tree7291a170ab613e57131240bc054d03420c5860dd /lib/libc/sys
parenthandle large numbers. this fixes time_t beyond 2038, constrains the (diff)
downloadwireguard-openbsd-9617cc55109b8d15f597ad19679398202c03765a.tar.xz
wireguard-openbsd-9617cc55109b8d15f597ad19679398202c03765a.zip
add clock_gettime to see also. i think guenther was ok with this.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/gettimeofday.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index cf181b31ca5..38a2554d751 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gettimeofday.2,v 1.22 2013/04/08 06:26:12 guenther Exp $
+.\" $OpenBSD: gettimeofday.2,v 1.23 2013/04/19 16:12:05 tedu Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95
.\"
-.Dd $Mdocdate: April 8 2013 $
+.Dd $Mdocdate: April 19 2013 $
.Dt GETTIMEOFDAY 2
.Os
.Sh NAME
@@ -129,6 +129,7 @@ A user other than the superuser attempted to set the time.
.Sh SEE ALSO
.Xr date 1 ,
.Xr adjtime 2 ,
+.Xr clock_gettime 2 ,
.Xr getitimer 2 ,
.Xr ctime 3 ,
.Xr time 3