summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1998-01-11 22:28:56 +0000
committeralex <alex@FreeBSD.org>1998-01-11 22:28:56 +0000
commit57754dd13c9b97514a0e6e0ad9ce57973143116d (patch)
treedc54a4eaee9b43978bd6f67df43214361bdf0c1f /lib/libc/sys
parentfbef792c466af1f2f0ad9a087edde0b9831f0501 (diff)
downloadFreeBSD-src-57754dd13c9b97514a0e6e0ad9ce57973143116d.zip
FreeBSD-src-57754dd13c9b97514a0e6e0ad9ce57973143116d.tar.gz
Formatting fix & improved comment for struct timeval.
Obtained from: OpenBSD
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/gettimeofday.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index 06ee8b1..c3a5a21 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)gettimeofday.2 8.2 (Berkeley) 5/26/95
+.\" $Id$
.\"
.Dd May 26, 1995
.Dt GETTIMEOFDAY 2
@@ -49,6 +50,7 @@
Note: timezone is no longer used; this information is kept outside
the kernel.
.Ef
+.Pp
The system's notion of the current Greenwich time and the current time
zone is obtained with the
.Fn gettimeofday
@@ -74,7 +76,7 @@ as:
.Pp
.Bd -literal
struct timeval {
- long tv_sec; /* seconds */
+ long tv_sec; /* seconds since Jan. 1, 1970 */
long tv_usec; /* and microseconds */
};
OpenPOWER on IntegriCloud