settimeofday is now (partially) implemented

This commit is contained in:
gdr 1997-12-21 19:43:03 +00:00
parent 5132e3d0b4
commit b294c85eb2

View File

@ -31,7 +31,7 @@
.\" .\"
.\" @(#)gettimeofday.2 8.1 (Berkeley) 6/4/93 .\" @(#)gettimeofday.2 8.1 (Berkeley) 6/4/93
.\" .\"
.TH GETTIMEOFDAY 2 "22 January 1997" GNO "System Calls" .TH GETTIMEOFDAY 2 "19 December 1997" GNO "System Calls"
.SH NAME .SH NAME
.BR gettimeofday , .BR gettimeofday ,
.BR settimeofday .BR settimeofday
@ -93,14 +93,16 @@ A -1 return value indicates an error occurred, and in this
case an error code is stored into the global variable case an error code is stored into the global variable
.IR errno . .IR errno .
.SH BUGS .SH BUGS
For GNO, The GNO implementation does not set or make use of the time zone
.BR settimeofday information pointed to by
is not currently implemented. .IR tzp ,
nor the
.BR tv_usec
field. The
.BR gettimeofday .BR gettimeofday
is a minimal implementation that stores into \fItp\fR->sec the call always returns zero in the
value returned by .BR tv_usec
.BR time (2). field.
The \fItp\fR->usec field is set to zero.
.SH SEE ALSO .SH SEE ALSO
.BR date (1), .BR date (1),
.BR adjtime (2), .BR adjtime (2),