STIME(S) UNIX System V STIME(S)
Name
stime - set time
Syntax
int stime (tp)
long *tp;
Description
The stime system call sets the system's idea of the time and
date. tp points to the value of time as measured in seconds
from 00:00:00 GMT January 1, 1970.
[EPERM] stime will fail if the effective user ID of
the calling process is not super-user.
See Also
time(S)
Diagnostics
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned, and errno is set to
indicate the error.
Standards Conformance
stime is conformant with:
AT&T SVID Issue 2, Select Code 307-127;
and The X/Open Portability Guide II of January 1987.
(printed 6/20/89)