Errno#
Errno contains the definition for errno and the defines for the errno values.
Macros#
Macro for errno usage.
Not owner.
No such file or directory.
No such process.
Interrupted system call.
I/O error.
No such device or address.
Arguments list too long.
Exec format error.
Bad file number.
No children.
No more processes.
Not enough space.
Permission denied.
Bad address.
Block device required.
Device or resource busy.
File exists.
Cross-device link.
No such device.
Not a directory.
Is a directory.
Invalid argument.
Too many open files in system.
File descriptor value too large.
Not a character device.
Text file busy.
File too large.
No space left on device.
Illegal seek.
Read-only file system.
Too many links.
Broken pipe.
Mathematics argument out of domain of function.
Result too large.
No message of desired type.
Identifier removed.
Deadlock.
No lock.
Not a stream.
No data (for no delay io)
Stream ioctl timeout.
No stream resources.
Virtual circuit is gone.
Protocol error.
Multihop attempted.
Bad message.
Inappropriate file type or format.
Function not implemented.
Directory not empty.
File or path name too long.
Too many symbolic links.
Operation not supported on socket.
Protocol family not supported.
Connection reset by peer.
No buffer space available.
Address family not supported by protocol family.
Protocol wrong type for socket.
Socket operation on non-socket.
Protocol not available.
Can't send after socket shutdown.
Connection refused.
Address already in use.
Software caused connection abort.
Network is unreachable.
Network interface is not configured.
Connection timed out.
Host is down.
Host is unreachable.
Connection already in progress.
Socket already connected.
Destination address required.
Message too long.
Unknown protocol.
Socket type not supported.
Address not available.
Connection aborted by network.
Socket is already connected.
Socket is not connected.
Too many references: can't splice.
Not supported.
Illegal byte sequence.
Value too large for defined data type.
Operation canceled.
State not recoverable.
Previous owner died.
Operation would block.
Function Documentation#
sl_errno#
int * sl_errno (void )
Errno function used with macro errno.
N/A |
Returns
Address of global variable used to store errno value
57
of file platform/common/errno/inc/errno.h
Macro Definition Documentation#
errno#
#define errnoValue:
(*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.
50
of file platform/common/errno/inc/errno.h
EPERM#
#define EPERMValue:
1
Not owner.
62
of file platform/common/errno/inc/errno.h
ENOENT#
#define ENOENTValue:
2
No such file or directory.
63
of file platform/common/errno/inc/errno.h
ESRCH#
#define ESRCHValue:
3
No such process.
64
of file platform/common/errno/inc/errno.h
EINTR#
#define EINTRValue:
4
Interrupted system call.
65
of file platform/common/errno/inc/errno.h
ENXIO#
#define ENXIOValue:
6
No such device or address.
67
of file platform/common/errno/inc/errno.h
E2BIG#
#define E2BIGValue:
7
Arguments list too long.
68
of file platform/common/errno/inc/errno.h
ENOEXEC#
#define ENOEXECValue:
8
Exec format error.
69
of file platform/common/errno/inc/errno.h
EBADF#
#define EBADFValue:
9
Bad file number.
70
of file platform/common/errno/inc/errno.h
ECHILD#
#define ECHILDValue:
10
No children.
71
of file platform/common/errno/inc/errno.h
EAGAIN#
#define EAGAINValue:
11
No more processes.
72
of file platform/common/errno/inc/errno.h
ENOMEM#
#define ENOMEMValue:
12
Not enough space.
73
of file platform/common/errno/inc/errno.h
EACCES#
#define EACCESValue:
13
Permission denied.
74
of file platform/common/errno/inc/errno.h
EFAULT#
#define EFAULTValue:
14
Bad address.
75
of file platform/common/errno/inc/errno.h
ENOTBLK#
#define ENOTBLKValue:
15
Block device required.
76
of file platform/common/errno/inc/errno.h
EBUSY#
#define EBUSYValue:
16
Device or resource busy.
77
of file platform/common/errno/inc/errno.h
EEXIST#
#define EEXISTValue:
17
File exists.
78
of file platform/common/errno/inc/errno.h
EXDEV#
#define EXDEVValue:
18
Cross-device link.
79
of file platform/common/errno/inc/errno.h
ENODEV#
#define ENODEVValue:
19
No such device.
80
of file platform/common/errno/inc/errno.h
ENOTDIR#
#define ENOTDIRValue:
20
Not a directory.
81
of file platform/common/errno/inc/errno.h
EISDIR#
#define EISDIRValue:
21
Is a directory.
82
of file platform/common/errno/inc/errno.h
EINVAL#
#define EINVALValue:
22
Invalid argument.
83
of file platform/common/errno/inc/errno.h
ENFILE#
#define ENFILEValue:
23
Too many open files in system.
84
of file platform/common/errno/inc/errno.h
EMFILE#
#define EMFILEValue:
24
File descriptor value too large.
85
of file platform/common/errno/inc/errno.h
ENOTTY#
#define ENOTTYValue:
25
Not a character device.
86
of file platform/common/errno/inc/errno.h
ETXTBSY#
#define ETXTBSYValue:
26
Text file busy.
87
of file platform/common/errno/inc/errno.h
EFBIG#
#define EFBIGValue:
27
File too large.
88
of file platform/common/errno/inc/errno.h
ENOSPC#
#define ENOSPCValue:
28
No space left on device.
89
of file platform/common/errno/inc/errno.h
ESPIPE#
#define ESPIPEValue:
29
Illegal seek.
90
of file platform/common/errno/inc/errno.h
EROFS#
#define EROFSValue:
30
Read-only file system.
91
of file platform/common/errno/inc/errno.h
EMLINK#
#define EMLINKValue:
31
Too many links.
92
of file platform/common/errno/inc/errno.h
EPIPE#
#define EPIPEValue:
32
Broken pipe.
93
of file platform/common/errno/inc/errno.h
EDOM#
#define EDOMValue:
33
Mathematics argument out of domain of function.
94
of file platform/common/errno/inc/errno.h
ERANGE#
#define ERANGEValue:
34
Result too large.
95
of file platform/common/errno/inc/errno.h
ENOMSG#
#define ENOMSGValue:
35
No message of desired type.
96
of file platform/common/errno/inc/errno.h
EIDRM#
#define EIDRMValue:
36
Identifier removed.
97
of file platform/common/errno/inc/errno.h
EDEADLK#
#define EDEADLKValue:
45
Deadlock.
99
of file platform/common/errno/inc/errno.h
ENOLCK#
#define ENOLCKValue:
46
No lock.
100
of file platform/common/errno/inc/errno.h
ENOSTR#
#define ENOSTRValue:
60
Not a stream.
102
of file platform/common/errno/inc/errno.h
ENODATA#
#define ENODATAValue:
61
No data (for no delay io)
103
of file platform/common/errno/inc/errno.h
ETIME#
#define ETIMEValue:
62
Stream ioctl timeout.
104
of file platform/common/errno/inc/errno.h
ENOSR#
#define ENOSRValue:
63
No stream resources.
105
of file platform/common/errno/inc/errno.h
ENOLINK#
#define ENOLINKValue:
67
Virtual circuit is gone.
107
of file platform/common/errno/inc/errno.h
EPROTO#
#define EPROTOValue:
71
Protocol error.
109
of file platform/common/errno/inc/errno.h
EMULTIHOP#
#define EMULTIHOPValue:
74
Multihop attempted.
110
of file platform/common/errno/inc/errno.h
EBADMSG#
#define EBADMSGValue:
77
Bad message.
112
of file platform/common/errno/inc/errno.h
EFTYPE#
#define EFTYPEValue:
79
Inappropriate file type or format.
113
of file platform/common/errno/inc/errno.h
ENOSYS#
#define ENOSYSValue:
88
Function not implemented.
115
of file platform/common/errno/inc/errno.h
ENOTEMPTY#
#define ENOTEMPTYValue:
90
Directory not empty.
117
of file platform/common/errno/inc/errno.h
ENAMETOOLONG#
#define ENAMETOOLONGValue:
91
File or path name too long.
118
of file platform/common/errno/inc/errno.h
ELOOP#
#define ELOOPValue:
92
Too many symbolic links.
119
of file platform/common/errno/inc/errno.h
EOPNOTSUPP#
#define EOPNOTSUPPValue:
95
Operation not supported on socket.
120
of file platform/common/errno/inc/errno.h
EPFNOSUPPORT#
#define EPFNOSUPPORTValue:
96
Protocol family not supported.
121
of file platform/common/errno/inc/errno.h
ECONNRESET#
#define ECONNRESETValue:
104
Connection reset by peer.
122
of file platform/common/errno/inc/errno.h
ENOBUFS#
#define ENOBUFSValue:
105
No buffer space available.
123
of file platform/common/errno/inc/errno.h
EAFNOSUPPORT#
#define EAFNOSUPPORTValue:
106
Address family not supported by protocol family.
124
of file platform/common/errno/inc/errno.h
EPROTOTYPE#
#define EPROTOTYPEValue:
107
Protocol wrong type for socket.
125
of file platform/common/errno/inc/errno.h
ENOTSOCK#
#define ENOTSOCKValue:
108
Socket operation on non-socket.
126
of file platform/common/errno/inc/errno.h
ENOPROTOOPT#
#define ENOPROTOOPTValue:
109
Protocol not available.
127
of file platform/common/errno/inc/errno.h
ESHUTDOWN#
#define ESHUTDOWNValue:
110
Can't send after socket shutdown.
128
of file platform/common/errno/inc/errno.h
ECONNREFUSED#
#define ECONNREFUSEDValue:
111
Connection refused.
129
of file platform/common/errno/inc/errno.h
EADDRINUSE#
#define EADDRINUSEValue:
112
Address already in use.
130
of file platform/common/errno/inc/errno.h
ECONNABORTED#
#define ECONNABORTEDValue:
113
Software caused connection abort.
131
of file platform/common/errno/inc/errno.h
ENETUNREACH#
#define ENETUNREACHValue:
114
Network is unreachable.
132
of file platform/common/errno/inc/errno.h
ENETDOWN#
#define ENETDOWNValue:
115
Network interface is not configured.
133
of file platform/common/errno/inc/errno.h
ETIMEDOUT#
#define ETIMEDOUTValue:
116
Connection timed out.
134
of file platform/common/errno/inc/errno.h
EHOSTDOWN#
#define EHOSTDOWNValue:
117
Host is down.
135
of file platform/common/errno/inc/errno.h
EHOSTUNREACH#
#define EHOSTUNREACHValue:
118
Host is unreachable.
136
of file platform/common/errno/inc/errno.h
EINPROGRESS#
#define EINPROGRESSValue:
119
Connection already in progress.
137
of file platform/common/errno/inc/errno.h
EALREADY#
#define EALREADYValue:
120
Socket already connected.
138
of file platform/common/errno/inc/errno.h
EDESTADDRREQ#
#define EDESTADDRREQValue:
121
Destination address required.
139
of file platform/common/errno/inc/errno.h
EMSGSIZE#
#define EMSGSIZEValue:
122
Message too long.
140
of file platform/common/errno/inc/errno.h
EPROTONOSUPPORT#
#define EPROTONOSUPPORTValue:
123
Unknown protocol.
141
of file platform/common/errno/inc/errno.h
ESOCKTNOSUPPORT#
#define ESOCKTNOSUPPORTValue:
124
Socket type not supported.
142
of file platform/common/errno/inc/errno.h
EADDRNOTAVAIL#
#define EADDRNOTAVAILValue:
125
Address not available.
143
of file platform/common/errno/inc/errno.h
ENETRESET#
#define ENETRESETValue:
126
Connection aborted by network.
144
of file platform/common/errno/inc/errno.h
EISCONN#
#define EISCONNValue:
127
Socket is already connected.
145
of file platform/common/errno/inc/errno.h
ENOTCONN#
#define ENOTCONNValue:
128
Socket is not connected.
146
of file platform/common/errno/inc/errno.h
ETOOMANYREFS#
#define ETOOMANYREFSValue:
129
Too many references: can't splice.
147
of file platform/common/errno/inc/errno.h
ENOTSUP#
#define ENOTSUPValue:
134
Not supported.
149
of file platform/common/errno/inc/errno.h
EILSEQ#
#define EILSEQValue:
138
Illegal byte sequence.
151
of file platform/common/errno/inc/errno.h
EOVERFLOW#
#define EOVERFLOWValue:
139
Value too large for defined data type.
152
of file platform/common/errno/inc/errno.h
ECANCELED#
#define ECANCELEDValue:
140
Operation canceled.
153
of file platform/common/errno/inc/errno.h
ENOTRECOVERABLE#
#define ENOTRECOVERABLEValue:
141
State not recoverable.
154
of file platform/common/errno/inc/errno.h
EOWNERDEAD#
#define EOWNERDEADValue:
142
Previous owner died.
155
of file platform/common/errno/inc/errno.h
EWOULDBLOCK#
#define EWOULDBLOCKValue:
EAGAIN
Operation would block.
157
of file platform/common/errno/inc/errno.h