$ man 3 errno
errno reference
You got a negative return and a number. Find the name here, then see what it means for the call that produced it. Each row names the syscalls on the reference that can return it; open the error for the full list. The per-call explanation is lifted from that call's card.
Only errors that appear on those cards are listed, so this is not a full errno(3). Values are Linux numbers on x86 and arm64.
42 errors
- EPERM1 · 30 syscalls
Operation not permitted
capset(2) · capset(2) · clone3(2) · fanotify_init(2) · fsopen(2) · io_uring_setup(2) · +24 more
- ENOENT2 · 6 syscalls
No such file or directory
execveat(2) · inotify_add_watch(2) · jail(2) · renameat2(2) · statx(2) · unveil(2)
- ESRCH3 · 10 syscalls
No such process
capset(2) · ioprio_set(2) · kcmp(2) · pidfd_getfd(2) · pidfd_open(2) · pidfd_send_signal(2) · +4 more
- EINTR4 · 3 syscalls
Interrupted system call
flock(2) · futex(2) · getrandom(2)
- EIO5 · 1 syscall
Input/output error
sync_file_range(2)
- ENXIO6 · 1 syscall
No such device or address
io_uring_setup(2)
- E2BIG7 · 5 syscalls
Argument list too long
clone3(2) · landlock_create_ruleset(2) · mount_setattr(2) · openat2(2) · unveil(2)
- EBADF9 · 17 syscalls
Bad file descriptor
cachestat(2) · copy_file_range(2) · fallocate(2) · flock(2) · kcmp(2) · pidfd_getfd(2) · +11 more
- EAGAIN11 · 10 syscalls
Resource temporarily unavailable
futex(2) · getrandom(2) · jail(2) · madvise(2) · mlock(2) · openat2(2) · +4 more
- EWOULDBLOCK11 · 1 syscall
Resource temporarily unavailable
flock(2)
- ENOMEM12 · 20 syscalls
Cannot allocate memory
clone3(2) · close_range(2) · eventfd(2) · fanotify_init(2) · io_uring_setup(2) · madvise(2) · +14 more
- EACCES13 · 8 syscalls
Permission denied
execveat(2) · inotify_add_watch(2) · keyctl(2) · madvise(2) · perf_event_open(2) · prctl(2) · +2 more
- EFAULT14 · 14 syscalls
Bad address
cachestat(2) · capset(2) · fsopen(2) · futex(2) · getrandom(2) · landlock_create_ruleset(2) · +8 more
- EBUSY16 · 3 syscalls
Device or resource busy
rseq(2) · sched_setattr(2) · seccomp(2)
- EEXIST17 · 2 syscalls
File exists
jail(2) · renameat2(2)
- EXDEV18 · 2 syscalls
Invalid cross-device link
copy_file_range(2) · openat2(2)
- ENODEV19 · 4 syscalls
No such device
eventfd(2) · fsopen(2) · pidfd_open(2) · signalfd(2)
- ENOTDIR20 · 1 syscall
Not a directory
statx(2)
- EINVAL22 · 52 syscalls
Invalid argument
cachestat(2) · capset(2) · clone3(2) · close_range(2) · copy_file_range(2) · eventfd(2) · +46 more
- ENFILE23 · 1 syscall
Too many open files in system
eventfd(2)
- EMFILE24 · 12 syscalls
Too many open files
close_range(2) · eventfd(2) · fanotify_init(2) · fsopen(2) · memfd_create(2) · memfd_secret(2) · +6 more
- EFBIG27 · 1 syscall
File too large
copy_file_range(2)
- ENOSPC28 · 3 syscalls
No space left on device
inotify_add_watch(2) · pkey_alloc / pkey_mprotect(2) · unshare(2)
- ESPIPE29 · 3 syscalls
Illegal seek
fallocate(2) · posix_fadvise(2) · splice(2)
- ENOLCK37 · 1 syscall
No locks available
flock(2)
- ENOSYS38 · 10 syscalls
Function not implemented
clone3(2) · fanotify_init(2) · futex(2) · getrandom(2) · membarrier(2) · memfd_secret(2) · +4 more
- ELOOP40 · 2 syscalls
Too many levels of symbolic links
execveat(2) · openat2(2)
- ENOMSG42 · 1 syscall
No message of desired type
landlock_create_ruleset(2)
- EOVERFLOW75 · 1 syscall
Value too large for defined data type
name_to_handle_at / open_by_handle_at(2)
- ENOTSOCK88 · 1 syscall
Socket operation on non-socket
SO_REUSEPORT
- ENOPROTOOPT92 · 1 syscall
Protocol not available
SO_REUSEPORT
- EOPNOTSUPP95 · 5 syscalls
Operation not supported
copy_file_range(2) · fallocate(2) · landlock_create_ruleset(2) · name_to_handle_at / open_by_handle_at(2) · preadv2 / pwritev2(2)
- EADDRINUSE98 · 1 syscall
Address already in use
SO_REUSEPORT
- ENOTCONN107 · 1 syscall
Transport endpoint is not connected
SCM_RIGHTS
- ETOOMANYREFS109 · 1 syscall
Too many references: cannot splice
SCM_RIGHTS
- ETIMEDOUT110 · 1 syscall
Connection timed out
futex(2)
- ESTALE116 · 1 syscall
Stale file handle
name_to_handle_at / open_by_handle_at(2)
- EDQUOT122 · 1 syscall
Disk quota exceeded
keyctl(2)
- ECANCELED125 · 1 syscall
Operation canceled
timerfd_create(2)
- ENOKEY126 · 1 syscall
Required key not available
keyctl(2)
- EKEYEXPIRED127 · 1 syscall
Key has expired
keyctl(2)
- EKEYREVOKED128 · 1 syscall
Key has been revoked
keyctl(2)
No match. Try the number or a word from the message, or search the whole site.