*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/stime (2)              
Title
Content
Arch
Section
 

Contents


stime(2)							      stime(2)


NAME    [Toc]    [Back]

     stime - set time

C SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int stime(const time_t *tp);

DESCRIPTION    [Toc]    [Back]

     stime sets	the system's idea of the time and date.	 tp points to the
     value of time as measured in seconds from 00:00:00	UTC January 1, 1970.

     stime will	fail if:

     EPERM	    the	calling	process	does not have the super-user
		    privilege.

SEE ALSO    [Toc]    [Back]

      
      
     time(2), gettimeofday(3B),	ctime(3C).

DIAGNOSTICS    [Toc]    [Back]

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


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
vxfs_ifree_timelag HP-UX VxFS inode free time lag (specifies the minimum time to be spent on a freelist)
create_link HP-UX Creates a soft link and optionally specifies an expiration time and an extension time
adjkerntz FreeBSD adjust local time CMOS clock to reflect time zone changes and keep current timezone offset for the k...
ftime Tru64 Gets and sets date and time and converts time between timeval and timeval64
settimeofday Tru64 Gets and sets date and time and converts time between timeval and timeval64
settimeofday64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
TIMEVAL32TO64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
TIMEVAL64TO32 Tru64 Gets and sets date and time and converts time between timeval and timeval64
gettimeofday64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
gettimeofday Tru64 Gets and sets date and time and converts time between timeval and timeval64
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service