Appendix D. Error Codes

The following list contains the C language short form for an error code, the error code numeric value, and a short description of the error.

C Name

Value

Description

EPERM

1

Operation not permitted

ENOENT

2

No such file or directory

ESRCH

3

No such process

EINTR

4

Interrupted system call

EIO

5

I/O error

ENXIO

6

No such device or address

E2BIG

7

Arg list too long

ENOEXEC

8

Exec format error

EBADF

9

Bad file number

ECHILD

10

No child processes

EAGAIN

11

Try again

ENOMEM

12

Out of memory

EACCES

13

Permission denied

EFAULT

14

Bad address

ENOTBLK

15

Block device required

EBUSY

16

Device or resource busy

EEXIST

17

File exists

EXDEV

18

Cross-device link

ENODEV

19

No such device

ENOTDIR

20

Not a directory

EISDIR

21

Is a directory

EINVAL

22

Invalid argument

ENFILE

23

File table overflow

EMFILE

24

Too many ...

Get Linux Shell Scripting with Bash now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.