Changeset d6c98451 in mainline for uspace/lib/posix/include
- Timestamp:
- 2015-09-20T11:12:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fbf4dc1
- Parents:
- 8a45707d
- Location:
- uspace/lib/posix/include/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/include/posix/inttypes.h
r8a45707d rd6c98451 43 43 #include "libc/inttypes.h" 44 44 45 extern __POSIX_DEF__(intmax_t)__POSIX_DEF__(strtoimax)(const char *restrict nptr,45 extern intmax_t __POSIX_DEF__(strtoimax)(const char *restrict nptr, 46 46 char **restrict endptr, int base); 47 extern __POSIX_DEF__(uintmax_t)__POSIX_DEF__(strtoumax)(const char *restrict nptr,47 extern uintmax_t __POSIX_DEF__(strtoumax)(const char *restrict nptr, 48 48 char **restrict endptr, int base); 49 49 -
uspace/lib/posix/include/posix/stdint.h
r8a45707d rd6c98451 104 104 #include "libc/sys/types.h" 105 105 106 typedef int64_t __POSIX_DEF__(intmax_t);107 typedef uint64_t __POSIX_DEF__(uintmax_t);108 109 110 106 /* 111 107 * Fast* and least* integer types. 112 108 * 113 * The definitions below are definitely safe if not the best. 109 * The definitions below are correct as long as uint8/16/32/64_t are defined. 110 * Considering the entire rest of the system would break down if they were not, 111 * these definitions are just fine. 114 112 */ 115 113 typedef uint8_t uint_least8_t;
Note:
See TracChangeset
for help on using the changeset viewer.