stime(2)
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. Time, pointed to by tp, is measured in seconds from 0000 GMT Jan 1, 1970.
RESTRICTIONS
Only the superuser may use this call.
DIAGNOSTICS
The stime call will fail if:
[EPERM] The process’s effective user ID is not the superuser.
ASSEMBLER
(stime = 25.)
(time in r0-r1)
sys stime