COSA
An Object-Oriented Platform for Arduino Programming
Errno.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EPERM   -1
 
#define ENOENT   -2
 
#define ESRCH   -3
 
#define EINTR   -4
 
#define EIO   -5
 
#define ENXIO   -6
 
#define E2BIG   -7
 
#define ENOEXEC   -8
 
#define EBADF   -9
 
#define ECHILD   -10
 
#define EAGAIN   -11
 
#define ENOMEM   -12
 
#define EACCES   -13
 
#define EFAULT   -14
 
#define ENOTBLK   -15
 
#define EBUSY   -16
 
#define EEXIST   -17
 
#define EXDEV   -18
 
#define ENODEV   -19
 
#define ENOTDIR   -20
 
#define EISDIR   -21
 
#define EINVAL   -22
 
#define ENFILE   -23
 
#define EMFILE   -24
 
#define ENOTTY   -25
 
#define ETXTBSY   -26
 
#define EFBIG   -27
 
#define ENOSPC   -28
 
#define ESPIPE   -29
 
#define EROFS   -30
 
#define EMLINK   -31
 
#define EPIPE   -32
 
#define EDOM   -33
 
#define ERANGE   -34
 
#define EDEADLK   -35
 
#define ENAMETOOLONG   -36
 
#define ENOLCK   -37
 
#define ENOSYS   -38
 
#define ENOTEMPTY   -39
 
#define ELOOP   -40
 
#define EWOULDBLOCK   -41
 
#define ENOMSG   -42
 
#define EIDRM   -43
 
#define ECHRNG   -44
 
#define EL2NSYNC   -45
 
#define EL3HLT   -46
 
#define EL3RST   -47
 
#define ELNRNG   -48
 
#define EUNATCH   -49
 
#define ENOCSI   -50
 
#define EL2HLT   -51
 
#define EBADE   -52
 
#define EBADR   -53
 
#define EXFULL   -54
 
#define ENOANO   -55
 
#define EBADRQC   -56
 
#define EBADSLT   -57
 
#define EDEADLOCK   -58
 
#define EBFONT   -59
 
#define ENOSTR   -60
 
#define ENODATA   -61
 
#define ETIME   -62
 
#define ENOSR   -63
 
#define ENONET   -64
 
#define ENOPKG   -65
 
#define EREMOTE   -66
 
#define ENOLINK   -67
 
#define EADV   -68
 
#define ESRMNT   -69
 
#define ECOMM   -70
 
#define EPROTO   -71
 
#define EMULTIHOP   -72
 
#define EDOTDOT   -73
 
#define EBADMSG   -74
 
#define EOVERFLOW   -75
 
#define ENOTUNIQ   -76
 
#define EBADFD   -77
 
#define EREMCHG   -78
 
#define ELIBACC   -79
 
#define ELIBBAD   -80
 
#define ELIBSCN   -81
 
#define ELIBMAX   -82
 
#define ELIBEXEC   -83
 
#define EILSEQ   -84
 
#define ERESTART   -85
 
#define ESTRPIPE   -86
 
#define EUSERS   -87
 
#define ENOTSOCK   -88
 
#define EDESTADDRREQ   -89
 
#define EMSGSIZE   -90
 
#define EPROTOTYPE   -91
 
#define ENOPROTOOPT   -92
 
#define EPROTONOSUPPORT   -93
 
#define ESOCKTNOSUPPORT   -94
 
#define EOPNOTSUPP   -95
 
#define EPFNOSUPPORT   -96
 
#define EAFNOSUPPORT   -97
 
#define EADDRINUSE   -98
 
#define EADDRNOTAVAIL   -99
 
#define ENETDOWN   -100
 
#define ENETUNREACH   -101
 
#define ENETRESET   -102
 
#define ECONNABORTED   -103
 
#define ECONNRESET   -104
 
#define ENOBUFS   -105
 
#define EISCONN   -106
 
#define ENOTCONN   -107
 
#define ESHUTDOWN   -108
 
#define ETOOMANYREFS   -109
 
#define ETIMEDOUT   -110
 
#define ECONNREFUSED   -111
 
#define EHOSTDOWN   -112
 
#define EHOSTUNREACH   -113
 
#define EALREADY   -114
 
#define EINPROGRESS   -115
 
#define ESTALE   -116
 
#define EUCLEAN   -117
 
#define ENOTNAM   -118
 
#define ENAVAIL   -119
 
#define EISNAM   -120
 
#define EREMOTEIO   -121
 
#define EDQUOT   -122
 
#define ENOMEDIUM   -123
 
#define EMEDIUMTYPE   -124
 
#define ECANCELED   -125
 
#define ENOKEY   -126
 
#define EKEYEXPIRED   -127
 
#define EKEYREVOKED   -128
 
#define EKEYREJECTED   -129
 
#define EOWNERDEAD   -130
 
#define ENOTRECOVERABLE   -131
 
#define ERFKILL   -132
 

Detailed Description

Version
1.0

License

Copyright (C) 2013-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

Description

Common error codes as defined in Linux. NB: Defined as negative values in Cosa as there is no errno variable.

This file is part of the Arduino Che Cosa project.

Definition in file Errno.h.

Macro Definition Documentation

#define E2BIG   -7

Argument list too long.

Definition at line 34 of file Errno.h.

#define EACCES   -13

Permission denied.

Definition at line 40 of file Errno.h.

#define EADDRINUSE   -98

Address already in use.

Definition at line 125 of file Errno.h.

#define EADDRNOTAVAIL   -99

Cannot assign requested address.

Definition at line 126 of file Errno.h.

#define EADV   -68

Advertise error.

Definition at line 95 of file Errno.h.

#define EAFNOSUPPORT   -97

Address family not supported by protocol.

Definition at line 124 of file Errno.h.

#define EAGAIN   -11

Try again.

Definition at line 38 of file Errno.h.

#define EALREADY   -114

Operation already in progress.

Definition at line 141 of file Errno.h.

#define EBADE   -52

Invalid exchange.

Definition at line 79 of file Errno.h.

#define EBADF   -9

Bad file number.

Definition at line 36 of file Errno.h.

#define EBADFD   -77

File descriptor in bad state.

Definition at line 104 of file Errno.h.

#define EBADMSG   -74

Not a data message.

Definition at line 101 of file Errno.h.

#define EBADR   -53

Invalid request descriptor.

Definition at line 80 of file Errno.h.

#define EBADRQC   -56

Invalid request code.

Definition at line 83 of file Errno.h.

#define EBADSLT   -57

Invalid slot.

Definition at line 84 of file Errno.h.

#define EBFONT   -59

Bad font file format.

Definition at line 86 of file Errno.h.

#define EBUSY   -16

Device or resource busy.

Definition at line 43 of file Errno.h.

#define ECANCELED   -125

Operation Canceled.

Definition at line 152 of file Errno.h.

#define ECHILD   -10

No child processes.

Definition at line 37 of file Errno.h.

#define ECHRNG   -44

Channel number out of range.

Definition at line 71 of file Errno.h.

#define ECOMM   -70

Communication error on send.

Definition at line 97 of file Errno.h.

#define ECONNABORTED   -103

Software caused connection abort.

Definition at line 130 of file Errno.h.

#define ECONNREFUSED   -111

Connection refused.

Definition at line 138 of file Errno.h.

#define ECONNRESET   -104

Connection reset by peer.

Definition at line 131 of file Errno.h.

#define EDEADLK   -35

Resource deadlock would occur.

Definition at line 62 of file Errno.h.

#define EDEADLOCK   -58

Deadlock would occur on resource.

Definition at line 85 of file Errno.h.

#define EDESTADDRREQ   -89

Destination address required.

Definition at line 116 of file Errno.h.

#define EDOM   -33

Math argument out of domain of func.

Definition at line 60 of file Errno.h.

#define EDOTDOT   -73

RFS specific error.

Definition at line 100 of file Errno.h.

#define EDQUOT   -122

Quota exceeded.

Definition at line 149 of file Errno.h.

#define EEXIST   -17

File exists.

Definition at line 44 of file Errno.h.

#define EFAULT   -14

Bad address.

Definition at line 41 of file Errno.h.

#define EFBIG   -27

File too large.

Definition at line 54 of file Errno.h.

#define EHOSTDOWN   -112

Host is down.

Definition at line 139 of file Errno.h.

#define EHOSTUNREACH   -113

No route to host.

Definition at line 140 of file Errno.h.

#define EIDRM   -43

Identifier removed.

Definition at line 70 of file Errno.h.

#define EILSEQ   -84

Illegal byte sequence.

Definition at line 111 of file Errno.h.

#define EINPROGRESS   -115

Operation now in progress.

Definition at line 142 of file Errno.h.

#define EINTR   -4

Interrupted system call.

Definition at line 31 of file Errno.h.

#define EINVAL   -22

Invalid argument.

Definition at line 49 of file Errno.h.

#define EIO   -5

I/O error.

Definition at line 32 of file Errno.h.

#define EISCONN   -106

Transport endpoint is already connected.

Definition at line 133 of file Errno.h.

#define EISDIR   -21

Is a directory.

Definition at line 48 of file Errno.h.

#define EISNAM   -120

Is a named type file.

Definition at line 147 of file Errno.h.

#define EKEYEXPIRED   -127

Key has expired.

Definition at line 154 of file Errno.h.

#define EKEYREJECTED   -129

Key was rejected by service.

Definition at line 156 of file Errno.h.

#define EKEYREVOKED   -128

Key has been revoked.

Definition at line 155 of file Errno.h.

#define EL2HLT   -51

Level 2 halted.

Definition at line 78 of file Errno.h.

#define EL2NSYNC   -45

Level 2 not synchronized.

Definition at line 72 of file Errno.h.

#define EL3HLT   -46

Level 3 halted.

Definition at line 73 of file Errno.h.

#define EL3RST   -47

Level 3 reset.

Definition at line 74 of file Errno.h.

#define ELIBACC   -79

Can not access a needed shared library.

Definition at line 106 of file Errno.h.

#define ELIBBAD   -80

Accessing a corrupted shared library.

Definition at line 107 of file Errno.h.

#define ELIBEXEC   -83

Cannot exec a shared library directly.

Definition at line 110 of file Errno.h.

#define ELIBMAX   -82

Too many shared libraries.

Definition at line 109 of file Errno.h.

#define ELIBSCN   -81

.lib section in a.out corrupted.

Definition at line 108 of file Errno.h.

#define ELNRNG   -48

Link number out of range.

Definition at line 75 of file Errno.h.

#define ELOOP   -40

Too many symbolic links encountered.

Definition at line 67 of file Errno.h.

#define EMEDIUMTYPE   -124

Wrong medium type.

Definition at line 151 of file Errno.h.

#define EMFILE   -24

Too many open files.

Definition at line 51 of file Errno.h.

#define EMLINK   -31

Too many links.

Definition at line 58 of file Errno.h.

#define EMSGSIZE   -90

Message too long.

Definition at line 117 of file Errno.h.

#define EMULTIHOP   -72

Multihop attempted.

Definition at line 99 of file Errno.h.

#define ENAMETOOLONG   -36

File name too long.

Definition at line 63 of file Errno.h.

#define ENAVAIL   -119

No XENIX semaphores available.

Definition at line 146 of file Errno.h.

#define ENETDOWN   -100

Network is down.

Definition at line 127 of file Errno.h.

#define ENETRESET   -102

Network dropped connection due to reset.

Definition at line 129 of file Errno.h.

#define ENETUNREACH   -101

Network is unreachable.

Definition at line 128 of file Errno.h.

#define ENFILE   -23

File table overflow.

Definition at line 50 of file Errno.h.

#define ENOANO   -55

No anode.

Definition at line 82 of file Errno.h.

#define ENOBUFS   -105

No buffer space available.

Definition at line 132 of file Errno.h.

#define ENOCSI   -50

No CSI structure available.

Definition at line 77 of file Errno.h.

#define ENODATA   -61

No data available.

Definition at line 88 of file Errno.h.

#define ENODEV   -19

No such device.

Definition at line 46 of file Errno.h.

#define ENOENT   -2

No such file or directory.

Definition at line 29 of file Errno.h.

#define ENOEXEC   -8

Exec format error.

Definition at line 35 of file Errno.h.

#define ENOKEY   -126

Required key not available.

Definition at line 153 of file Errno.h.

#define ENOLCK   -37

No record locks available.

Definition at line 64 of file Errno.h.

#define ENOLINK   -67

Link has been severed.

Definition at line 94 of file Errno.h.

#define ENOMEDIUM   -123

No medium found.

Definition at line 150 of file Errno.h.

#define ENOMEM   -12

Out of memory.

Definition at line 39 of file Errno.h.

#define ENOMSG   -42

No message of desired type.

Definition at line 69 of file Errno.h.

#define ENONET   -64

Machine is not on the network.

Definition at line 91 of file Errno.h.

#define ENOPKG   -65

Package not installed.

Definition at line 92 of file Errno.h.

#define ENOPROTOOPT   -92

Protocol not available.

Definition at line 119 of file Errno.h.

#define ENOSPC   -28

No space left on device.

Definition at line 55 of file Errno.h.

#define ENOSR   -63

Out of streams resources.

Definition at line 90 of file Errno.h.

#define ENOSTR   -60

Device not a stream.

Definition at line 87 of file Errno.h.

#define ENOSYS   -38

Function not implemented.

Definition at line 65 of file Errno.h.

#define ENOTBLK   -15

Block device required.

Definition at line 42 of file Errno.h.

#define ENOTCONN   -107

Transport endpoint is not connected.

Definition at line 134 of file Errno.h.

#define ENOTDIR   -20

Not a directory.

Definition at line 47 of file Errno.h.

#define ENOTEMPTY   -39

Directory not empty.

Definition at line 66 of file Errno.h.

#define ENOTNAM   -118

Not a XENIX named type file.

Definition at line 145 of file Errno.h.

#define ENOTRECOVERABLE   -131

State not recoverable.

Definition at line 158 of file Errno.h.

#define ENOTSOCK   -88

Socket operation on non-socket.

Definition at line 115 of file Errno.h.

#define ENOTTY   -25

Not a typewriter.

Definition at line 52 of file Errno.h.

#define ENOTUNIQ   -76

Name not unique on network.

Definition at line 103 of file Errno.h.

#define ENXIO   -6

No such device or address.

Definition at line 33 of file Errno.h.

#define EOPNOTSUPP   -95

Not supported on transport endpoint.

Definition at line 122 of file Errno.h.

#define EOVERFLOW   -75

Value too large for defined data type.

Definition at line 102 of file Errno.h.

#define EOWNERDEAD   -130

Owner died.

Definition at line 157 of file Errno.h.

#define EPERM   -1

Operation not permitted.

Definition at line 28 of file Errno.h.

#define EPFNOSUPPORT   -96

Protocol family not supported.

Definition at line 123 of file Errno.h.

#define EPIPE   -32

Broken pipe.

Definition at line 59 of file Errno.h.

#define EPROTO   -71

Protocol error.

Definition at line 98 of file Errno.h.

#define EPROTONOSUPPORT   -93

Protocol not supported.

Definition at line 120 of file Errno.h.

#define EPROTOTYPE   -91

Protocol wrong type for socket.

Definition at line 118 of file Errno.h.

#define ERANGE   -34

Math result not representable.

Definition at line 61 of file Errno.h.

#define EREMCHG   -78

Remote address changed.

Definition at line 105 of file Errno.h.

#define EREMOTE   -66

Object is remote.

Definition at line 93 of file Errno.h.

#define EREMOTEIO   -121

Remote I/O error.

Definition at line 148 of file Errno.h.

#define ERESTART   -85

Interrupted system call not restarted.

Definition at line 112 of file Errno.h.

#define ERFKILL   -132

Operation not possible due to RF-kill.

Definition at line 159 of file Errno.h.

#define EROFS   -30

Read-only file system.

Definition at line 57 of file Errno.h.

#define ESHUTDOWN   -108

Transport endpoint shutdown.

Definition at line 135 of file Errno.h.

#define ESOCKTNOSUPPORT   -94

Socket type not supported.

Definition at line 121 of file Errno.h.

#define ESPIPE   -29

Illegal seek.

Definition at line 56 of file Errno.h.

#define ESRCH   -3

No such process.

Definition at line 30 of file Errno.h.

#define ESRMNT   -69

Srmount error.

Definition at line 96 of file Errno.h.

#define ESTALE   -116

Stale NFS file handle.

Definition at line 143 of file Errno.h.

#define ESTRPIPE   -86

Streams pipe error.

Definition at line 113 of file Errno.h.

#define ETIME   -62

Timer expired.

Definition at line 89 of file Errno.h.

#define ETIMEDOUT   -110

Connection timed out.

Definition at line 137 of file Errno.h.

#define ETOOMANYREFS   -109

Too many references: cannot splice.

Definition at line 136 of file Errno.h.

#define ETXTBSY   -26

Text file busy.

Definition at line 53 of file Errno.h.

#define EUCLEAN   -117

Structure needs cleaning.

Definition at line 144 of file Errno.h.

#define EUNATCH   -49

Protocol driver not attached.

Definition at line 76 of file Errno.h.

#define EUSERS   -87

Too many users.

Definition at line 114 of file Errno.h.

#define EWOULDBLOCK   -41

Operation would block.

Definition at line 68 of file Errno.h.

#define EXDEV   -18

Cross-device link.

Definition at line 45 of file Errno.h.

#define EXFULL   -54

Exchange full.

Definition at line 81 of file Errno.h.