$RodHat_/search
errno reference

ENOTDIR

Not a directory

Linux value
20
strerror(3)
Not a directory
On this site
1 syscall

Where you will see ENOTDIR

  • statx(2)Linux ยท Filesystem

    A prefix component isn't a directory, or path is relative and dirfd isn't a directory.

Sources

  1. errno(3), Linux man-pages
  2. The meaning for each syscall is taken from that syscall's own card and the man page it cites.

Values are the Linux numbers on x86 and arm64; other architectures and the BSDs number some errors differently. BSD cards list the names the BSD man page uses. Spot one that's wrong? Tell Rod.