int stime(const time_t tp);
sets the system's idea of the time and date.
points to the value of time as
measured in seconds from 00:00:00 UTC January 1, 1970.
On success, stime returns 0.
On failure, stime returns -1 and sets errno to identify the error.
In the following conditions, stime fails and sets errno to:
The calling process does not have the appropriate privilege
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004