David Kastrup wrote:
Eric Blake <[EMAIL PROTECTED]> writes:
PCYMTNQREAIYR      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

"If the named file is a symbolic link, the stat() function shall
continue pathname resolution using the contents of the symbolic
link, and shall return information pertaining to the resulting file
if the file exists."

This says nothing about what is returned if the file does not exist.

RETURN VALUE
    Upon successful completion, 0 shall be returned. Otherwise, -1 shall
    be returned and errno set to indicate the error.

ERRORS
    The stat() function shall fail if:
    ...
    [ENOENT]
        A component of path does not name an existing file or path is an
        empty string.


What part of the above don't you understand?

--
Matthew
"...anyway, that's my 0.02 toasters"
(with apologies to Niel)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to