Prev, Top Notes, Next

Walk Along the Path

For each path component that isn't the final component...

There is also some support for users when they mis-type pathnames, making suggestions when ENOENT is returned:

open(pathname = "/user/include/fcntl.h", flags = O_RDONLY) failed, No such file or directory (2, ENOENT) because there is no "user" directory in the pathname "/" directory, did you mean the "usr" directory instead?