ultrix man page for stime

Query: stime

OS: ultrix

Section: 3

Links: ultrix man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

stime(3)						     Library Functions Manual							  stime(3)

Name
       stime - set time

Syntax
       int stime (tp)
       long *tp;

Description
       The system call sets the system's time and date.  The tp argument points to the value of time as measured in seconds from 00:00:00 GMT Jan-
       uary 1, 1970.

Return Values
       Upon successful completion, a value of zero (0) is returned.  Otherwise, a value of -1 is returned and errno is set to indicate the error.

Diagnostics
       [EPERM]	      The effective user ID of the calling process is not the superuser.

See Also
       gettimeofday(2), time(3)

																	  stime(3)
Related Man Pages
stime(2) - linux
gmtime(3f) - bsd
time(3f) - bsd
stime(2) - minix
stime(2) - plan9
Similar Topics in the Unix Linux Community
Any way to sort ps output based on STIME?