nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_errno.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
13#ifndef NRF_ERRNO_H__
14#define NRF_ERRNO_H__
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
28#define NRF_EPERM 1
29#define NRF_ENOENT 2
30#define NRF_ESRCH 3
31#define NRF_EINTR 4
32#define NRF_EIO 5
33#define NRF_ENXIO 6
34#define NRF_E2BIG 7
35#define NRF_ENOEXEC 8
36#define NRF_EBADF 9
37#define NRF_ECHILD 10
38#define NRF_EAGAIN 11
39#define NRF_ENOMEM 12
40#define NRF_EACCES 13
41#define NRF_EFAULT 14
42#define NRF_EBUSY 16
43#define NRF_EEXIST 17
44#define NRF_EXDEV 18
45#define NRF_ENODEV 19
46#define NRF_ENOTDIR 20
47#define NRF_EISDIR 21
48#define NRF_EINVAL 22
49#define NRF_ENFILE 23
50#define NRF_EMFILE 24
51#define NRF_ENOTTY 25
52#define NRF_ETXTBSY 26
53#define NRF_EFBIG 27
54#define NRF_ENOSPC 28
55#define NRF_ESPIPE 29
56#define NRF_EROFS 30
57#define NRF_EMLINK 31
58#define NRF_EPIPE 32
59#define NRF_EDOM 33
60#define NRF_ERANGE 34
61#define NRF_ENOMSG 35
62#define NRF_EDEADLK 45
63#define NRF_ENOLCK 46
64#define NRF_ENOSTR 60
65#define NRF_ENODATA 61
66#define NRF_ETIME 62
67#define NRF_ENOSR 63
68#define NRF_ECOMM 70
69#define NRF_EPROTO 71
70#define NRF_EBADMSG 77
71#define NRF_ENOSYS 88
72#define NRF_ENOTEMPTY 90
73#define NRF_ENAMETOOLONG 91
74#define NRF_ELOOP 92
75#define NRF_EOPNOTSUPP 95
76#define NRF_ECONNRESET 104
77#define NRF_ENOBUFS 105
78#define NRF_EAFNOSUPPORT 106
79#define NRF_EPROTOTYPE 107
80#define NRF_ENOTSOCK 108
81#define NRF_ENOPROTOOPT 109
82#define NRF_ECONNREFUSED 111
83#define NRF_EADDRINUSE 112
84#define NRF_ECONNABORTED 113
85#define NRF_ENETUNREACH 114
86#define NRF_ENETDOWN 115
87#define NRF_ETIMEDOUT 116
88#define NRF_EHOSTUNREACH 118
89#define NRF_EINPROGRESS 119
90#define NRF_EALREADY 120
91#define NRF_EDESTADDRREQ 121
92#define NRF_EMSGSIZE 122
93#define NRF_EPROTONOSUPPORT 123
94#define NRF_EADDRNOTAVAIL 125
95#define NRF_ENETRESET 126
96#define NRF_EISCONN 127
97#define NRF_ENOTCONN 128
98#define NRF_ENOTSUP 134
99#define NRF_EILSEQ 138
100#define NRF_EOVERFLOW 139
101#define NRF_ECANCELED 140
103#define NRF_EWOULDBLOCK NRF_EAGAIN
105/* Not in IEEE Std 1003.1-2017 */
106
107#define NRF_ENOTBLK 15
108#define NRF_EPFNOSUPPORT 96
109#define NRF_ESHUTDOWN 110
110#define NRF_EHOSTDOWN 117
111#define NRF_ESOCKTNOSUPPORT 124
112#define NRF_ETOOMANYREFS 129
118#ifdef __cplusplus
119}
120#endif
121
122#endif /* NRF_ERRNO_H__ */