STIME(2-SysV) RISC/os Reference Manual STIME(2-SysV)
NAME
stime - set time
SYNOPSIS
int stime (tp)
long *tp;
DESCRIPTION
stime 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.
ERRORS
[EPERM] stime will fail if the effective user ID of
the calling process is not super-user.
SEE ALSO
time(2).
DIAGNOSTICS
Upon successful completion, a value of 0 is returned. Oth-
erwise, a value of -1 is returned and errno is set to indi-
cate the error.
Printed 1/15/91 Page 1