no-OS
errno.h
Go to the documentation of this file.
1 /***************************************************************************/
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
37 extern "C"
38 {
39 #endif // _cplusplus
40 
41 /******************************************************************************/
42 /********************** Macros and Constants Definitions **********************/
43 /******************************************************************************/
44 
45 #if defined(__ARMCC_VERSION)
46 #if !defined(__ELASTERROR)
47 #define __ELASTERROR 2000
48 #endif
49 #if !defined(ENOTSUP)
50 #define ENOTSUP 9926
51 #endif
52 #if !defined(EBADMSG)
53 #define EBADMSG 9905
54 #endif
55 #if !defined(ETIME)
56 #define ETIME 9935
57 #endif
58 #if !defined(EACCES)
59 #define EACCES 9973
60 #endif
61 #if !defined(ETIMEDOUT)
62 #define ETIMEDOUT 9938
63 #endif
64 #if !defined(ENODEV)
65 #define ENODEV 9967
66 #endif
67 #if !defined(EFAULT)
68 #define EFAULT 9948
69 #endif
70 #if !defined(EIO)
71 #define EIO 9961
72 #endif
73 #if !defined(ENOENT)
74 #define ENOENT 9968
75 #endif
76 #if !defined(EBUSY)
77 #define EBUSY 9952
78 #endif
79 #if !defined(EAGAIN)
80 #define EAGAIN 9976
81 #endif
82 #if !defined(EINVAL)
83 #define EINVAL 9943
84 #endif
85 #if !defined(ENOMEM)
86 #define ENOMEM 9971
87 #endif
88 #if !defined(ENOSYS)
89 #define ENOSYS 88
90 #endif
91 #if !defined(ENOTCONN)
92 #define ENOTCONN 128
93 #endif
94 
95 // End of defined(__ARMCC_VERSION)
96 #endif
97 
98 #include_next <errno.h>
99 
100 #ifdef __cplusplus
101 }
102 #endif // _cplusplus
103 
104 #endif // MBED_ERRNO_H_