- Timestamp:
- 2019-05-27T12:38:26Z (6 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
- Files:
-
- 1 added
- 5 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 -
abi/include/inttypes.h
r4d51c60 rbc56f30 43 43 #include <stdint.h> 44 44 #include <_bits/wchar_t.h> 45 #include <_bits/decls.h> 45 46 46 47 /* … … 311 312 #endif 312 313 313 #ifdef _HELENOS_SOURCE314 #define UINT8_MIN 0315 #define UINT16_MIN 0316 #define UINT32_MIN 0317 #define UINT64_MIN 0318 #endif319 320 314 #define PRIdMAX "lld" 321 315 #define PRIiMAX "lli" … … 330 324 #define SCNxMAX "llx" 331 325 332 #ifdef __cplusplus 333 extern "C" { 326 #if defined(_HELENOS_SOURCE) && !defined(__cplusplus) 327 #define PRIdn PRIdPTR /**< Format for native_t. */ 328 #define PRIun PRIuPTR /**< Format for sysarg_t. */ 329 #define PRIxn PRIxPTR /**< Format for hexadecimal sysarg_t. */ 334 330 #endif 331 332 __C_DECLS_BEGIN; 335 333 336 334 typedef struct { … … 343 341 intmax_t strtoimax(const char *__restrict__, char **__restrict__, int); 344 342 uintmax_t strtoumax(const char *__restrict__, char **__restrict__, int); 345 346 #ifdef __cplusplus 347 } 343 intmax_t wcstoimax(const wchar_t *__restrict__, wchar_t **__restrict__, int); 344 uintmax_t wcstoumax(const wchar_t *__restrict__, wchar_t **__restrict__, int); 345 346 __C_DECLS_END; 347 348 348 #endif 349 349 350 #endif351 352 350 /** @} 353 351 */ -
abi/include/limits.h
r4d51c60 rbc56f30 84 84 #define MB_LEN_MAX 4 85 85 86 #define __NAME_MAX 256 87 88 #ifdef _HELENOS_SOURCE 86 89 #define UCHAR_MIN 0 87 90 #define USHRT_MIN 0 … … 89 92 #define ULONG_MIN (0ul) 90 93 #define ULLONG_MIN (0ull) 94 #define SSIZE_MIN INTPTR_MIN 95 #define UINT8_MIN 0 96 #define UINT16_MIN 0 97 #define UINT32_MIN 0 98 #define UINT64_MIN 0 99 #endif 100 101 #if defined(_HELENOS_SOURCE) || defined(_POSIX_SOURCE) || \ 102 defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \ 103 defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 104 105 #define SSIZE_MAX INTPTR_MAX 106 #define NAME_MAX __NAME_MAX 107 108 #endif 91 109 92 110 /* GCC's <limits.h> doesn't define these for C++11, even though it should. */
Note:
See TracChangeset
for help on using the changeset viewer.