Changes in uspace/lib/c/include/errno.h [10de842:bc56f30] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/errno.h
r10de842 rbc56f30 33 33 */ 34 34 35 #ifndef LIBC_ERRNO_H_36 #define LIBC_ERRNO_H_35 #ifndef _LIBC_ERRNO_H_ 36 #define _LIBC_ERRNO_H_ 37 37 38 38 #include <_bits/errno.h> 39 39 #include <abi/errno.h> 40 #include <_bits/decls.h> 40 41 41 #define errno (*(__errno())) 42 __HELENOS_DECLS_BEGIN; 42 43 43 44 extern errno_t *__errno(void) __attribute__((const)); 45 46 __HELENOS_DECLS_END; 47 48 #ifdef __cplusplus 49 #define errno (*(::helenos::__errno())) 50 #else 51 #define errno (*(__errno())) 52 #endif 44 53 45 54 #endif
Note:
See TracChangeset
for help on using the changeset viewer.