Changeset bc56f30 in mainline for abi/include/_bits
- Timestamp:
- 2019-05-27T12:38:26Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d14c25
- Parents:
- 4d51c60
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-13 16:06:49)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-05-27 12:38:26)
- Location:
- abi/include/_bits
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/_bits/errno.h
r4d51c60 rbc56f30 41 41 #define _BITS_ERRNO_H_ 42 42 43 #include <_bits/native.h> 44 #include <_bits/decls.h> 45 43 46 #ifdef __OPAQUE_ERRNO__ 44 47 #include <_bits/__opaque_handle.h> 45 48 49 __HELENOS_DECLS_BEGIN; 46 50 __opaque_handle(errno_t); 47 51 typedef errno_t sys_errno_t; 52 __HELENOS_DECLS_END; 53 48 54 #define __errno_t(val) ((errno_t) val) 49 55 50 56 #else 51 57 52 #include <_bits/native.h> 58 __HELENOS_DECLS_BEGIN; 53 59 54 60 /** … … 65 71 typedef sysarg_t sys_errno_t; 66 72 73 __HELENOS_DECLS_END; 74 67 75 /** 68 76 * A C++-style "cast" to `errno_t`. -
abi/include/_bits/native.h
r4d51c60 rbc56f30 47 47 48 48 #include <inttypes.h> 49 #include <_bits/decls.h> 50 51 __HELENOS_DECLS_BEGIN; 49 52 50 53 typedef uintptr_t pfn_t; … … 53 56 typedef intptr_t native_t; 54 57 55 #define PRIdn PRIdPTR /**< Format for native_t. */ 56 #define PRIun PRIuPTR /**< Format for sysarg_t. */ 57 #define PRIxn PRIxPTR /**< Format for hexadecimal sysarg_t. */ 58 __HELENOS_DECLS_END; 58 59 59 60 #endif -
abi/include/_bits/ssize_t.h
r4d51c60 rbc56f30 42 42 43 43 #include <stdint.h> 44 #include <_bits/decls.h> 44 45 46 __C_DECLS_BEGIN; 45 47 typedef intptr_t ssize_t; 46 47 #define SSIZE_MIN INTPTR_MIN 48 #define SSIZE_MAX INTPTR_MAX 48 __C_DECLS_END; 49 49 50 50 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
