Unix |
Unix v7 |
|
![]() |
stime(2) |
![]() |
stime − set time
stime(tp)
long *tp;
Stime 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. Only the super-user may use this call.
date(1), time(2), ctime(3)
Zero is returned if the time was set; −1 if user is not the super-user.
(stime = 25.)
(time in r0-r1)
sys stime
![]() |
stime(2) | ![]() |