Errno#

Errno contains the definition for errno and the defines for the errno values.

Functions#

int *
sl_errno(void)

Errno function used with macro errno.

Macros#

#define
errno (*sl_errno())

Macro for errno usage.

#define

Not owner.

#define

No such file or directory.

#define

No such process.

#define

Interrupted system call.

#define
EIO 5

I/O error.

#define

No such device or address.

#define

Arguments list too long.

#define

Exec format error.

#define

Bad file number.

#define

No children.

#define

No more processes.

#define

Not enough space.

#define

Permission denied.

#define

Bad address.

#define

Block device required.

#define

Device or resource busy.

#define

File exists.

#define

Cross-device link.

#define

No such device.

#define

Not a directory.

#define

Is a directory.

#define

Invalid argument.

#define

Too many open files in system.

#define

File descriptor value too large.

#define

Not a character device.

#define

Text file busy.

#define

File too large.

#define

No space left on device.

#define

Illegal seek.

#define

Read-only file system.

#define

Too many links.

#define

Broken pipe.

#define
EDOM 33

Mathematics argument out of domain of function.

#define

Result too large.

#define

No message of desired type.

#define

Identifier removed.

#define

Deadlock.

#define

No lock.

#define

Not a stream.

#define

No data (for no delay io)

#define

Stream ioctl timeout.

#define

No stream resources.

#define

Virtual circuit is gone.

#define

Protocol error.

#define

Multihop attempted.

#define

Bad message.

#define

Inappropriate file type or format.

#define

Function not implemented.

#define

Directory not empty.

#define

File or path name too long.

#define

Too many symbolic links.

#define

Operation not supported on socket.

#define

Protocol family not supported.

#define

Connection reset by peer.

#define

No buffer space available.

#define

Address family not supported by protocol family.

#define

Protocol wrong type for socket.

#define

Socket operation on non-socket.

#define

Protocol not available.

#define

Can't send after socket shutdown.

#define

Connection refused.

#define

Address already in use.

#define

Software caused connection abort.

#define

Network is unreachable.

#define

Network interface is not configured.

#define

Connection timed out.

#define

Host is down.

#define

Host is unreachable.

#define

Connection already in progress.

#define

Socket already connected.

#define

Destination address required.

#define

Message too long.

#define

Unknown protocol.

#define

Socket type not supported.

#define

Address not available.

#define

Connection aborted by network.

#define

Socket is already connected.

#define

Socket is not connected.

#define

Too many references: can't splice.

#define

Not supported.

#define
EILSEQ 138

Illegal byte sequence.

#define

Value too large for defined data type.

#define

Operation canceled.

#define

State not recoverable.

#define

Previous owner died.

#define

Operation would block.

Function Documentation#

sl_errno#

int * sl_errno (void )

Errno function used with macro errno.

Parameters
N/A

Returns

  • Address of global variable used to store errno value


Definition at line 57 of file platform/common/errno/inc/errno.h

Macro Definition Documentation#

errno#

#define errno
Value:
(*sl_errno())

Macro for errno usage.

Can be used to retrieve errno value and to assign errno value since function returns address of variable used to store errno value.


Definition at line 50 of file platform/common/errno/inc/errno.h

EPERM#

#define EPERM
Value:
1

Not owner.


Definition at line 62 of file platform/common/errno/inc/errno.h

ENOENT#

#define ENOENT
Value:
2

No such file or directory.


Definition at line 63 of file platform/common/errno/inc/errno.h

ESRCH#

#define ESRCH
Value:
3

No such process.


Definition at line 64 of file platform/common/errno/inc/errno.h

EINTR#

#define EINTR
Value:
4

Interrupted system call.


Definition at line 65 of file platform/common/errno/inc/errno.h

EIO#

#define EIO
Value:
5

I/O error.


Definition at line 66 of file platform/common/errno/inc/errno.h

ENXIO#

#define ENXIO
Value:
6

No such device or address.


Definition at line 67 of file platform/common/errno/inc/errno.h

E2BIG#

#define E2BIG
Value:
7

Arguments list too long.


Definition at line 68 of file platform/common/errno/inc/errno.h

ENOEXEC#

#define ENOEXEC
Value:
8

Exec format error.


Definition at line 69 of file platform/common/errno/inc/errno.h

EBADF#

#define EBADF
Value:
9

Bad file number.


Definition at line 70 of file platform/common/errno/inc/errno.h

ECHILD#

#define ECHILD
Value:
10

No children.


Definition at line 71 of file platform/common/errno/inc/errno.h

EAGAIN#

#define EAGAIN
Value:
11

No more processes.


Definition at line 72 of file platform/common/errno/inc/errno.h

ENOMEM#

#define ENOMEM
Value:
12

Not enough space.


Definition at line 73 of file platform/common/errno/inc/errno.h

EACCES#

#define EACCES
Value:
13

Permission denied.


Definition at line 74 of file platform/common/errno/inc/errno.h

EFAULT#

#define EFAULT
Value:
14

Bad address.


Definition at line 75 of file platform/common/errno/inc/errno.h

ENOTBLK#

#define ENOTBLK
Value:
15

Block device required.


Definition at line 76 of file platform/common/errno/inc/errno.h

EBUSY#

#define EBUSY
Value:
16

Device or resource busy.


Definition at line 77 of file platform/common/errno/inc/errno.h

EEXIST#

#define EEXIST
Value:
17

File exists.


Definition at line 78 of file platform/common/errno/inc/errno.h

EXDEV#

#define EXDEV
Value:
18

Cross-device link.


Definition at line 79 of file platform/common/errno/inc/errno.h

ENODEV#

#define ENODEV
Value:
19

No such device.


Definition at line 80 of file platform/common/errno/inc/errno.h

ENOTDIR#

#define ENOTDIR
Value:
20

Not a directory.


Definition at line 81 of file platform/common/errno/inc/errno.h

EISDIR#

#define EISDIR
Value:
21

Is a directory.


Definition at line 82 of file platform/common/errno/inc/errno.h

EINVAL#

#define EINVAL
Value:
22

Invalid argument.


Definition at line 83 of file platform/common/errno/inc/errno.h

ENFILE#

#define ENFILE
Value:
23

Too many open files in system.


Definition at line 84 of file platform/common/errno/inc/errno.h

EMFILE#

#define EMFILE
Value:
24

File descriptor value too large.


Definition at line 85 of file platform/common/errno/inc/errno.h

ENOTTY#

#define ENOTTY
Value:
25

Not a character device.


Definition at line 86 of file platform/common/errno/inc/errno.h

ETXTBSY#

#define ETXTBSY
Value:
26

Text file busy.


Definition at line 87 of file platform/common/errno/inc/errno.h

EFBIG#

#define EFBIG
Value:
27

File too large.


Definition at line 88 of file platform/common/errno/inc/errno.h

ENOSPC#

#define ENOSPC
Value:
28

No space left on device.


Definition at line 89 of file platform/common/errno/inc/errno.h

ESPIPE#

#define ESPIPE
Value:
29

Illegal seek.


Definition at line 90 of file platform/common/errno/inc/errno.h

EROFS#

#define EROFS
Value:
30

Read-only file system.


Definition at line 91 of file platform/common/errno/inc/errno.h

EMLINK#

#define EMLINK
Value:
31

Too many links.


Definition at line 92 of file platform/common/errno/inc/errno.h

EPIPE#

#define EPIPE
Value:
32

Broken pipe.


Definition at line 93 of file platform/common/errno/inc/errno.h

EDOM#

#define EDOM
Value:
33

Mathematics argument out of domain of function.


Definition at line 94 of file platform/common/errno/inc/errno.h

ERANGE#

#define ERANGE
Value:
34

Result too large.


Definition at line 95 of file platform/common/errno/inc/errno.h

ENOMSG#

#define ENOMSG
Value:
35

No message of desired type.


Definition at line 96 of file platform/common/errno/inc/errno.h

EIDRM#

#define EIDRM
Value:
36

Identifier removed.


Definition at line 97 of file platform/common/errno/inc/errno.h

EDEADLK#

#define EDEADLK
Value:
45

Deadlock.


Definition at line 99 of file platform/common/errno/inc/errno.h

ENOLCK#

#define ENOLCK
Value:
46

No lock.


Definition at line 100 of file platform/common/errno/inc/errno.h

ENOSTR#

#define ENOSTR
Value:
60

Not a stream.


Definition at line 102 of file platform/common/errno/inc/errno.h

ENODATA#

#define ENODATA
Value:
61

No data (for no delay io)


Definition at line 103 of file platform/common/errno/inc/errno.h

ETIME#

#define ETIME
Value:
62

Stream ioctl timeout.


Definition at line 104 of file platform/common/errno/inc/errno.h

ENOSR#

#define ENOSR
Value:
63

No stream resources.


Definition at line 105 of file platform/common/errno/inc/errno.h

ENOLINK#

#define ENOLINK
Value:
67

Virtual circuit is gone.


Definition at line 107 of file platform/common/errno/inc/errno.h

EPROTO#

#define EPROTO
Value:
71

Protocol error.


Definition at line 109 of file platform/common/errno/inc/errno.h

EMULTIHOP#

#define EMULTIHOP
Value:
74

Multihop attempted.


Definition at line 110 of file platform/common/errno/inc/errno.h

EBADMSG#

#define EBADMSG
Value:
77

Bad message.


Definition at line 112 of file platform/common/errno/inc/errno.h

EFTYPE#

#define EFTYPE
Value:
79

Inappropriate file type or format.


Definition at line 113 of file platform/common/errno/inc/errno.h

ENOSYS#

#define ENOSYS
Value:
88

Function not implemented.


Definition at line 115 of file platform/common/errno/inc/errno.h

ENOTEMPTY#

#define ENOTEMPTY
Value:
90

Directory not empty.


Definition at line 117 of file platform/common/errno/inc/errno.h

ENAMETOOLONG#

#define ENAMETOOLONG
Value:
91

File or path name too long.


Definition at line 118 of file platform/common/errno/inc/errno.h

ELOOP#

#define ELOOP
Value:
92

Too many symbolic links.


Definition at line 119 of file platform/common/errno/inc/errno.h

EOPNOTSUPP#

#define EOPNOTSUPP
Value:
95

Operation not supported on socket.


Definition at line 120 of file platform/common/errno/inc/errno.h

EPFNOSUPPORT#

#define EPFNOSUPPORT
Value:
96

Protocol family not supported.


Definition at line 121 of file platform/common/errno/inc/errno.h

ECONNRESET#

#define ECONNRESET
Value:
104

Connection reset by peer.


Definition at line 122 of file platform/common/errno/inc/errno.h

ENOBUFS#

#define ENOBUFS
Value:
105

No buffer space available.


Definition at line 123 of file platform/common/errno/inc/errno.h

EAFNOSUPPORT#

#define EAFNOSUPPORT
Value:
106

Address family not supported by protocol family.


Definition at line 124 of file platform/common/errno/inc/errno.h

EPROTOTYPE#

#define EPROTOTYPE
Value:
107

Protocol wrong type for socket.


Definition at line 125 of file platform/common/errno/inc/errno.h

ENOTSOCK#

#define ENOTSOCK
Value:
108

Socket operation on non-socket.


Definition at line 126 of file platform/common/errno/inc/errno.h

ENOPROTOOPT#

#define ENOPROTOOPT
Value:
109

Protocol not available.


Definition at line 127 of file platform/common/errno/inc/errno.h

ESHUTDOWN#

#define ESHUTDOWN
Value:
110

Can't send after socket shutdown.


Definition at line 128 of file platform/common/errno/inc/errno.h

ECONNREFUSED#

#define ECONNREFUSED
Value:
111

Connection refused.


Definition at line 129 of file platform/common/errno/inc/errno.h

EADDRINUSE#

#define EADDRINUSE
Value:
112

Address already in use.


Definition at line 130 of file platform/common/errno/inc/errno.h

ECONNABORTED#

#define ECONNABORTED
Value:
113

Software caused connection abort.


Definition at line 131 of file platform/common/errno/inc/errno.h

ENETUNREACH#

#define ENETUNREACH
Value:
114

Network is unreachable.


Definition at line 132 of file platform/common/errno/inc/errno.h

ENETDOWN#

#define ENETDOWN
Value:
115

Network interface is not configured.


Definition at line 133 of file platform/common/errno/inc/errno.h

ETIMEDOUT#

#define ETIMEDOUT
Value:
116

Connection timed out.


Definition at line 134 of file platform/common/errno/inc/errno.h

EHOSTDOWN#

#define EHOSTDOWN
Value:
117

Host is down.


Definition at line 135 of file platform/common/errno/inc/errno.h

EHOSTUNREACH#

#define EHOSTUNREACH
Value:
118

Host is unreachable.


Definition at line 136 of file platform/common/errno/inc/errno.h

EINPROGRESS#

#define EINPROGRESS
Value:
119

Connection already in progress.


Definition at line 137 of file platform/common/errno/inc/errno.h

EALREADY#

#define EALREADY
Value:
120

Socket already connected.


Definition at line 138 of file platform/common/errno/inc/errno.h

EDESTADDRREQ#

#define EDESTADDRREQ
Value:
121

Destination address required.


Definition at line 139 of file platform/common/errno/inc/errno.h

EMSGSIZE#

#define EMSGSIZE
Value:
122

Message too long.


Definition at line 140 of file platform/common/errno/inc/errno.h

EPROTONOSUPPORT#

#define EPROTONOSUPPORT
Value:
123

Unknown protocol.


Definition at line 141 of file platform/common/errno/inc/errno.h

ESOCKTNOSUPPORT#

#define ESOCKTNOSUPPORT
Value:
124

Socket type not supported.


Definition at line 142 of file platform/common/errno/inc/errno.h

EADDRNOTAVAIL#

#define EADDRNOTAVAIL
Value:
125

Address not available.


Definition at line 143 of file platform/common/errno/inc/errno.h

ENETRESET#

#define ENETRESET
Value:
126

Connection aborted by network.


Definition at line 144 of file platform/common/errno/inc/errno.h

EISCONN#

#define EISCONN
Value:
127

Socket is already connected.


Definition at line 145 of file platform/common/errno/inc/errno.h

ENOTCONN#

#define ENOTCONN
Value:
128

Socket is not connected.


Definition at line 146 of file platform/common/errno/inc/errno.h

ETOOMANYREFS#

#define ETOOMANYREFS
Value:
129

Too many references: can't splice.


Definition at line 147 of file platform/common/errno/inc/errno.h

ENOTSUP#

#define ENOTSUP
Value:
134

Not supported.


Definition at line 149 of file platform/common/errno/inc/errno.h

EILSEQ#

#define EILSEQ
Value:
138

Illegal byte sequence.


Definition at line 151 of file platform/common/errno/inc/errno.h

EOVERFLOW#

#define EOVERFLOW
Value:
139

Value too large for defined data type.


Definition at line 152 of file platform/common/errno/inc/errno.h

ECANCELED#

#define ECANCELED
Value:
140

Operation canceled.


Definition at line 153 of file platform/common/errno/inc/errno.h

ENOTRECOVERABLE#

#define ENOTRECOVERABLE
Value:
141

State not recoverable.


Definition at line 154 of file platform/common/errno/inc/errno.h

EOWNERDEAD#

#define EOWNERDEAD
Value:
142

Previous owner died.


Definition at line 155 of file platform/common/errno/inc/errno.h

EWOULDBLOCK#

#define EWOULDBLOCK
Value:
EAGAIN

Operation would block.


Definition at line 157 of file platform/common/errno/inc/errno.h