stime -- set time
cc . . . -lc
int stime (tp) long *tp;
system call sets the system's idea of the time and date.
points to the value of time as measured in seconds from 1970-01-01 00:00 UTC.
fails if the effective user ID of the calling process is not super-user.
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned, and
is set to indicate the error.
is not part of any currently supported standard; it was developed by UNIX System Laboratories, Inc. and is maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003