Samsung Internal API reference  2.0
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 
int * get_errno_addr(void)
This function should NOT be used directly, use 'errno' instead.
int errno_t
Definition: errno.h:297