If the process does not have search permission on
the current lookup directory,
-an EACCES error is returned ("Permission denied").
+an
+.B EACCES
+error is returned ("Permission denied").
If the component is not found, an ENOENT error is returned
("No such file or directory").
If the component is found, but is neither a directory nor a symbolic link,
-an ENOTDIR error is returned ("Not a directory").
+an
+.B ENOTDIR
+error is returned ("Not a directory").
If the component is found and is a directory, we set the
current lookup directory to that directory, and go to the
resolve this symbolic link (with the current lookup directory
as starting lookup directory).
Upon error, that error is returned.
-If the result is not a directory, an ENOTDIR error is returned.
+If the result is not a directory, an
+.B ENOTDIR
+error is returned.
If the resolution of the symlink is successful and returns a directory,
we set the current lookup directory to that directory, and go to
the next component.