osf1 man page for stime

Query: stime

OS: osf1

Section: 3

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

stime(3)						     Library Functions Manual							  stime(3)

NAME
stime - Sets the system-wide time-of-day clock
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/time.h> int stime( long *tz );
PARAMETERS
Points to the value of time, to be interpreted as the number of seconds since 00:00:00 GMT on January 1, 1970.
DESCRIPTION
The stime() function sets the time and date of the system.
RETURN VALUES
Upon successful completion, a value of 0 (zero) is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
If the stime() function fails, errno is set to one of the following values: The calling process does not have the appropriate system privi- lege.
RELATED INFORMATION
Functions: gettimeofday(2), gettimer(3) delim off stime(3)
Related Man Pages
time(3f) - bsd
explain_stime_or_die(3) - debian
stime(2) - suse
stime(2) - minix
stime(2) - mojave
Similar Topics in the Unix Linux Community
Any way to sort ps output based on STIME?