Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
EBADF
Edit
PageHistory
Diff
Info
LikePages
!!!Bad File Descriptor The file descriptor passed to a syscall was out of range, or was not open, or is invalid for the function requested. This is usually a programming bug, you forgot to call open(2), or socket(2), or something or they returned an error. Check to see if the file descriptor is -1, if it is, then you should check errno for why it failed. see the man pages for open(2) or socket(2) for more information.
40 pages link to
EBADF
:
lseek(2)
fchown(2)
ftruncate(2)
connect(2)
fsync(2)
fcntl(2)
getsockname(2)
lstat(2)
dup2(2)
close(2)
fdatasync(2)
fchdir(2)
fchmod(2)
fstat(2)
dup(2)
fstatfs(2)
getpeername(2)
getdents(2)
bind(2)
getsockopt(2)
madvise(2)
mmap(2)
poll(2)
munmap(2)
read(2)
readdir(2)
readv(2)
recvfrom(2)
recvmsg(2)
writev(2)
accept(2)
sendfile(2)
sendmsg(2)
pselect(2)
listen(2)
select(2)
recv(2)
setsockopt(2)
llseek(2)
send(2)