Man page of stime
Section: C Library Functions (3)
Return to Main Contents
stime - Sets the system-wide time-of-day clock
Standard C Library (libc.a)
long *tz );
Points to the value of time, to be interpreted as the number of
seconds since 00:00:00 GMT on January 1, 1970.
function sets the time and date of the system.
Upon successful completion, a value of 0 (zero) is returned.
Otherwise, -1 is returned and
is set to indicate the error.
If the stime() function fails,
is set to one of the following values:
The calling process does not have the appropriate
- RETURN VALUES
- RELATED INFORMATION
This document was created by
using the manual pages.
Time: 02:41:26 GMT, October 02, 2010