

stime()                COHERENT System Call               stime()




Set the time

#include
iinntt ssttiimmee(_t_i_m_e_p)
ttiimmee_tt *_t_i_m_e_p;

stime sets  the system time.  timep points to  a variable of type
time_t, which  contains the number of  seconds since midnight GMT
of January 1, 1970.

stime is restricted to the superuser.

***** Files *****

<sys/types.h>

***** See Also *****

COHERENT system calls, ctime(), date, ftime(), stat(), utime()

***** Diagnostics *****

stime returns -1 on error, zero otherwise.

































COHERENT Lexicon                                           Page 1


