Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)gettimeofday.2 4.1 (Berkeley) 05/09/85
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.
@(#)gettimeofday.2 4.1 (Berkeley) 05/09/85
STIME 2
C 4 NAME
stime - set time
SYNOPSIS
stime(tp) long *tp;
DESCRIPTION
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.
"SEE ALSO"
date(1), time(2), ctime(3)
DIAGNOSTICS
Zero is returned if the time was set;
-1 if user is not the super-user.
"ASSEMBLER (PDP-11)"
(stime = 25.)
(time in r0-r1)
sys stime