FreeBSD error codes

The following table contains a list of FreeBSD error codes.

Decimal

Hexadecimal

Name

Description

1

0x00000001

EPERM

Operation not permitted

2

0x00000002

ENOENT

No such file or directory

3

0x00000003

ESRCH

No such process

4

0x00000004

EINTR

Interrupted system call

5

0x00000005

EIO

Input/output error

6

0x00000006

ENXIO

Device not configured

7

0x00000007

E2BIG

Argument list too long

8

0x00000008

ENOEXEC

Exec format error

9

0x00000009

EBADF

Bad file descriptor

10

0x0000000A

ECHILD

No child processes

11

0x0000000B

EDEADLK

Resource deadlock avoided

12

0x0000000C

ENOMEM

Cannot allocate memory

13

0x0000000D

EACCES

Permission denied

14

0x0000000E

EFAULT

Bad address

15

0x0000000F

ENOTBLK

Block device required

16

0x00000010

EBUSY

Device busy

17

0x00000011

EEXIST

File exists

18

0x00000012

EXDEV

Cross-device link

19

0x00000013

ENODEV

Operation not supported by device

20

0x00000014

ENOTDIR

Not a directory

21

0x00000015

EISDIR

Is a directory

22

0x00000016

EINVAL

Invalid argument

23

0x00000017

ENFILE

Too many open files in system

24

0x00000018

EMFILE

Too many open files

25

0x00000019

ENOTTY

Inappropriate ioctl for device

26

0x0000001A

ETXTBSY

Text file busy

27

0x0000001B

EFBIG

File too large

28

0x0000001C

ENOSPC

No space left on device

29

0x0000001D

ESPIPE

Illegal seek

30

0x0000001E

EROFS

Read-only file system

31

0x0000001F

EMLINK

Too many links

32

0x00000020

EPIPE

Broke pipe

33

0x00000021

EDOM

Numerical argument out of domain

34

0x00000022

ERANGE

Result too large

35

0x00000023

EAGAIN

Resource temporarily unavailable

36

0x00000024

EINPROGRESS

Operation now in progress

37

0x00000025

EALREADY

Operation already in progress

38

0x00000026

ENOTSOCK

Socket operation on non-socket

39

0x00000027

EDESTADDRREQ

Destination address required

40

0x00000028

EMSGSIZE

Message too long

41

0x00000029

EPROTOTYPE

Protocol wrong type for socket

42

0x0000002A

ENOPROTOOPT

Protocol not available

43

0x0000002B

EPROTONOSUPPORT

Protocol not supported

44

0x0000002C

ESOCKTNOSUPPORT

Socket type not supported

45

0x0000002D

EOPNOTSUPP

Operation not supported

46

0x0000002E

EPFNOSUPPORT

Protocol family not supported

47

0x0000002F

EAFNOSUPPORT

Address family not supported by protocol family

48

0x00000030

EADDRINUSE

Address already in use

49

0x00000031

EADDRNOTAVAIL

Can´t assign requested address

50

0x00000032

ENETDOWN

Network is down

51

0x00000033

ENETUNREACH

Network is unreachable

52

0x00000034

ENETRESET

Network dropped connection on reset

53

0x00000035

ECONNABORTED

Software caused connection abort

54

0x00000036

ECONNRESET

Connection reset by peer

55

0x00000037

ENOBUFS

No buffer space available

56

0x00000038

EISCONN

Socket is already connected

57

0x00000039

ENOTCONN

Socket is not connected

58

0x0000003A

ESHUTDOWN

Can´t send after socket shutdown

60

0x0000003C

ETIMEDOUT

Operation timed out

61

0x0000003D

ECONNREFUSED

Connection refused

62

0x0000003E

ELOOP

Too many levels of symbolic links

63

0x0000003F

ENAMETOOLONG

File name too long

64

0x00000040

EHOSTDOWN

Host is down

65

0x00000041

EHOSTUNREACH

No route to host

66

0x00000042

ENOTEMPTY

Directory not empty

67

0x00000043

EPROCLIM

Too many processes

68

0x00000044

EUSERS

Too many users

69

0x00000045

EDQUOT

Disc quota exceeded

70

0x00000046

ESTALE

Stale NFS file handle

72

0x00000048

EBADRPC

RPC struct is bad

73

0x00000049

ERPCMISMATCH

RPC version wrong

74

0x0000004A

EPROGUNAVAIL

RPC prog. Not avail

75

0x0000004B

EPROGMISMATCH

Program version wrong

76

0x0000004C

EPROCUNAVAIL

Bad procedure for program

77

0x0000004D

ENOLCK

No locks available

78

0x0000004E

ENOSYS

Function not implemented

79

0x0000004F

EFTYPE

Inappropriate file type or format

80

0x00000050

EAUTH

Authentication error

81

0x00000051

ENEEDAUTH

Need authenticator

82

0x00000052

EIDRM

Identifier removed

83

0x00000053

ENOMSG

No message of desired type

84

0x00000054

EOVERFLOW

Value too large to be stored in data type

85

0x00000055

ECANCELED

Operation canceled

86

0x00000056

EILSEQ

Illegal byte sequence

87

0x00000057

ENOATTR

Attribute not found

88

0x00000058

EDOOFUS

Programming error

89

0x00000059

EBADMSG

Bad message

90

0x0000005A

EMULTIHOP

Multihop attempted

91

0x0000005B

ENOLINK

Link has been severed

92

0x0000005C

EPROTO

Protocol error

93

0x0000005D

ENOTCAPABLE

Capabilities insufficient

94

0x0000005E

ECAPMODE

Not permitted in capability mode

95

0x0000005F

ENOTRECOVERABLE

State not recoverable

96

0x00000060

EOWNERDEAD

Previous owner died

97

0x00000061

EINTEGRITY

Integrity check failed