Formatting fix & improved comment for struct timeval.

Obtained from:	OpenBSD
This commit is contained in:
Alexander Langer
1998-01-11 22:28:56 +00:00
parent d4b1275d66
commit 73a8c56ec1
+3 -1
View File
@@ -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 */
};