stime man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

stime(3)							      stime(3)

NAME
       stime - Set the system-wide time-of-day clock

SYNOPSIS
       #include <sys/time.h>

       int stime(
	       long *tz );

LIBRARY
       Standard C Library (libc)

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.

SEE ALSO
       Functions: gettimeofday(2), gettimer(3)

								      stime(3)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net