| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

errno.h
Go to the documentation of this file.
1
9 #ifndef __ERRNO_H__
10 #define __ERRNO_H__
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include "core/error.h"
17
280 __attribute__((pure))
281 int *get_errno_addr(void);
282
290 #define errno (*get_errno_addr())
291
292 #ifdef __STDC_WANT_LIB_EXT1__
293
297 typedef int errno_t;
298 #endif
299
300 #ifdef __cplusplus
301 }
302 #endif
303
304 #endif /* !__ERRNO_H__ */
305
get_errno_addr
int * get_errno_addr(void)
This function should NOT be used directly, use &#39;errno&#39; instead.
error.h
errno_t
int errno_t
Definition: errno.h:297