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.

STAT(2) STAT (2)<br />

st_ctime Time when file status was last changed. Changed by<br />

the following system calls: chmod(2), chown(2),<br />

creat(2), link(2), mknod(2), pipe(2), unlink(2),<br />

utime(2), and write(2).<br />

Stat will fail if one or more of the following are true:<br />

A component of the path prefix is not a directory.<br />

[ENOTDffi[<br />

The named file does not exist. [ENOENT[<br />

Search permission is denied for a component of the path<br />

prefix. [EACCESj<br />

Buf or path points to an invalid address. [EFAULTI<br />

Fstat will fail if one or more of the following are true:<br />

Fildes is not a valid open file descriptor. [EBADFI<br />

Buf points to an invalid address. [EFAULTI<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 />

chmod(2), chown(2), creat(2), link(2), mknod(2), time(2), unlink(2).<br />

- 2-

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

Saved successfully!

Ooh no, something went wrong!