PREV INDEX NEXT

Author: Unknown
Subject: Symlink Clarification
Date: Thursday, 17 Sep 2020, 03:50:51

In response to this:
    > When I run the staff solution in a directory containing a symbolic link
    > that points to itself, I get the error message "stat(NAME_OF_LINK)
    > failed". However, doing the same thing with the find command gives an
    > ELOOP error: "too many levels symbolic links.
    >
    > Which error message is actually representing what is going on?

> Neither message is incorrect:  stat(NAME_OF_LINK) does
> fail and the value of ERRNO is ELOOP.

Would it be accepted to print no errors?
PREV INDEX NEXT