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.

TIME ( 2) TIME(2)<br />

NAME<br />

time - get time<br />

SYNOPSIS<br />

long time ((long *) 0)<br />

long time (tloc)<br />

long •tloc;<br />

DESCRIPTION<br />

Time returns the value of time in seconds since 00:00:00 GMT,<br />

January 1, 1970.<br />

If tloc (taken as an integer) is non-zero, the return value is also<br />

stored in the location to which tloc points.<br />

Time will fail if tloc points to an illegal address. IEF AUL Tl<br />

RETURN VALUE<br />

Upon successful completion, time returns the value of time. Otherwise,<br />

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

error.<br />

SEE ALSO<br />

stime(2).<br />

- 1 -

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

Saved successfully!

Ooh no, something went wrong!