01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

STIME(2) STIME(2)<br />

NAME<br />

stime - set time<br />

SYNOPSIS<br />

int stime (tp)<br />

long •tp;<br />

DESCRIPTION<br />

Stime sets the system's idea of the time and date. Tp points to<br />

the value of time as measured in seconds from 00:00:00 GMT January<br />

1, 1970.<br />

Stime will fail if the effective user ID of the calling process is not<br />

super-user. JEPERMJ<br />

RETURN VALUE<br />

Upon successful completion, a value of 0 is returned. Otherwise, a<br />

value of -1 is returned and errno is set to indicate the error.<br />

SEE ALSO<br />

time(2).<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!