no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
errno.h
Go to the documentation of this file.
1/***************************************************************************/
31
32#ifndef MBED_ERRNO_H_
33#define MBED_ERRNO_H_
34
35// Platform drivers needs to be C-compatible to work with other drivers
36#ifdef __cplusplus
37extern "C"
38{
39#endif // _cplusplus
40
41#if defined(__ARMCC_VERSION)
42#if !defined(__ELASTERROR)
43#define __ELASTERROR 2000
44#endif
45#if !defined(ENOTSUP)
46#define ENOTSUP 9926
47#endif
48#if !defined(EBADMSG)
49#define EBADMSG 9905
50#endif
51#if !defined(ETIME)
52#define ETIME 9935
53#endif
54#if !defined(EACCES)
55#define EACCES 9973
56#endif
57#if !defined(ETIMEDOUT)
58#define ETIMEDOUT 9938
59#endif
60#if !defined(ENODEV)
61#define ENODEV 9967
62#endif
63#if !defined(EFAULT)
64#define EFAULT 9948
65#endif
66#if !defined(EIO)
67#define EIO 9961
68#endif
69#if !defined(ENOENT)
70#define ENOENT 9968
71#endif
72#if !defined(EBUSY)
73#define EBUSY 9952
74#endif
75#if !defined(EAGAIN)
76#define EAGAIN 9976
77#endif
78#if !defined(EINVAL)
79#define EINVAL 9943
80#endif
81#if !defined(ENOMEM)
82#define ENOMEM 9971
83#endif
84#if !defined(ENOSYS)
85#define ENOSYS 88
86#endif
87#if !defined(ENOTCONN)
88#define ENOTCONN 128
89#endif
90
91// End of defined(__ARMCC_VERSION)
92#endif
93
94#include_next <errno.h>
95
96#ifdef __cplusplus
97}
98#endif // _cplusplus
99
100#endif // MBED_ERRNO_H_