Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ENOTDIR
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
!!!Not a directory You are trying to do something to a file where a directory would be expected. eg: chdir("/etc/motd"); This more frequently (and confusingly) occurs when you are refering to a file, where you would expect a file to work, but the directory path is wrong, eg: fopen("/etc/motd/foo","r"); because "/etc/motd" is a file, not a directory, and therefore can't "contain" "/foo".
24 pages link to
ENOTDIR
:
link(2)
execve(2)
rmdir(2)
lstat(2)
mknod(2)
pivot_root(2)
creat(2)
fchmod(2)
access(2)
fstat(2)
chdir(2)
fstatfs(2)
chmod(2)
chown(2)
chroot(2)
getdents(2)
bind(2)
lchown(2)
mkdir(2)
open(2)
mount(2)
readdir(2)
readlink(2)
rename(2)