Changeset d6c98451 in mainline
- Timestamp:
- 2015-09-20T11:12:33Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fbf4dc1
- Parents:
- 8a45707d
- Location:
- uspace/lib
- Files:
-
- 10 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_abs32le_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __32_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT32_MIN43 #define SIZE_MAX UINT32_MAX44 42 45 43 #define SSIZE_MIN INT32_MIN … … 50 48 51 49 typedef int32_t ssize_t; 52 typedef uint32_t size_t;53 50 54 typedef uint32_t uintptr_t;55 typedef int32_t intptr_t;56 51 typedef uint32_t atomic_count_t; 57 52 typedef int32_t atomic_signed_t; -
uspace/lib/c/arch/amd64/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_amd64_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __64_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT64_MIN43 #define SIZE_MAX UINT64_MAX44 42 45 43 #define SSIZE_MIN INT64_MIN … … 50 48 51 49 typedef int64_t ssize_t; 52 typedef uint64_t size_t;53 50 54 typedef uint64_t uintptr_t;55 typedef int64_t intptr_t;56 51 typedef uint64_t atomic_count_t; 57 52 typedef int64_t atomic_signed_t; -
uspace/lib/c/arch/arm32/include/libarch/types.h
r8a45707d rd6c98451 37 37 #define LIBC_arm32_TYPES_H_ 38 38 39 #include <libarch/common.h> 40 #include <libarch/stdint.h> 41 39 42 #define __32_BITS__ 40 41 #include <libarch/common.h>42 43 #define SIZE_MIN UINT32_MIN44 #define SIZE_MAX UINT32_MAX45 43 46 44 #define SSIZE_MIN INT32_MIN … … 51 49 52 50 typedef int32_t ssize_t; 53 typedef uint32_t size_t;54 51 55 typedef uint32_t uintptr_t;56 typedef int32_t intptr_t;57 52 typedef uint32_t atomic_count_t; 58 53 typedef int32_t atomic_signed_t; -
uspace/lib/c/arch/ia32/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_ia32_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __32_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT32_MIN43 #define SIZE_MAX UINT32_MAX44 42 45 43 #define SSIZE_MIN INT32_MIN … … 52 50 typedef uint32_t size_t; 53 51 54 typedef uint32_t uintptr_t;55 typedef int32_t intptr_t;56 52 typedef uint32_t atomic_count_t; 57 53 typedef int32_t atomic_signed_t; -
uspace/lib/c/arch/ia64/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_ia64_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __64_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT64_MIN43 #define SIZE_MAX UINT64_MAX44 42 45 43 #define SSIZE_MIN INT64_MIN … … 50 48 51 49 typedef int64_t ssize_t; 52 typedef uint64_t size_t;53 50 54 typedef uint64_t uintptr_t;55 typedef int64_t intptr_t;56 51 typedef uint64_t atomic_count_t; 57 52 typedef int64_t atomic_signed_t; -
uspace/lib/c/arch/mips32/include/libarch/types.h
r8a45707d rd6c98451 37 37 #define LIBC_mips32_TYPES_H_ 38 38 39 #include <libarch/common.h> 40 #include <libarch/stdint.h> 41 39 42 #define __32_BITS__ 40 41 #include <libarch/common.h>42 43 #define SIZE_MIN UINT32_MIN44 #define SIZE_MAX UINT32_MAX45 43 46 44 #define SSIZE_MIN INT32_MIN … … 51 49 52 50 typedef int32_t ssize_t; 53 typedef uint32_t size_t;54 51 55 typedef uint32_t uintptr_t;56 typedef int32_t intptr_t;57 52 typedef uint32_t atomic_count_t; 58 53 typedef int32_t atomic_signed_t; -
uspace/lib/c/arch/ppc32/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_ppc32_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __32_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT32_MIN43 #define SIZE_MAX UINT32_MAX44 42 45 43 #define SSIZE_MIN INT32_MIN … … 50 48 51 49 typedef int32_t ssize_t; 52 typedef uint32_t size_t;53 50 54 typedef uint32_t uintptr_t;55 typedef int32_t intptr_t;56 51 typedef uint32_t atomic_count_t; 57 52 typedef int32_t atomic_signed_t; -
uspace/lib/c/arch/sparc32/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_sparc32_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __32_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT32_MIN43 #define SIZE_MAX UINT32_MAX44 42 45 43 #define SSIZE_MIN INT32_MIN … … 50 48 51 49 typedef int32_t ssize_t; 52 typedef uint32_t size_t;53 50 54 typedef uint32_t uintptr_t;55 typedef int32_t intptr_t;56 51 typedef uint32_t atomic_count_t; 57 52 typedef int32_t atomic_signed_t; -
uspace/lib/c/arch/sparc64/include/libarch/types.h
r8a45707d rd6c98451 36 36 #define LIBC_sparc64_TYPES_H_ 37 37 38 #include <libarch/common.h> 39 #include <libarch/stdint.h> 40 38 41 #define __64_BITS__ 39 40 #include <libarch/common.h>41 42 #define SIZE_MIN UINT64_MIN43 #define SIZE_MAX UINT64_MAX44 42 45 43 #define SSIZE_MIN INT64_MIN … … 50 48 51 49 typedef int64_t ssize_t; 52 typedef uint64_t size_t;53 50 54 typedef uint64_t uintptr_t;55 typedef int64_t intptr_t;56 51 typedef uint64_t atomic_count_t; 57 52 typedef int64_t atomic_signed_t; -
uspace/lib/c/include/stdint.h
r8a45707d rd6c98451 60 60 #define UINT64_MAX UINT64_C(0xFFFFFFFFFFFFFFFF) 61 61 62 #include <libarch/ types.h>62 #include <libarch/stdint.h> 63 63 64 64 /* off64_t */ -
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; -
uspace/lib/posix/source/stdio/scanf.c
r8a45707d rd6c98451 698 698 break; 699 699 case LMOD_j: ; 700 posix_uintmax_t *pj = va_arg(arg, posix_uintmax_t *);701 *pj = ( posix_uintmax_t) ures;700 uintmax_t *pj = va_arg(arg, uintmax_t *); 701 *pj = (uintmax_t) ures; 702 702 break; 703 703 case LMOD_z: ; … … 740 740 break; 741 741 case LMOD_j: ; 742 posix_intmax_t *pj = va_arg(arg, posix_intmax_t *);743 *pj = ( posix_intmax_t) sres;742 intmax_t *pj = va_arg(arg, intmax_t *); 743 *pj = (intmax_t) sres; 744 744 break; 745 745 case LMOD_z: ; -
uspace/lib/posix/source/stdlib/strtol.c
r8a45707d rd6c98451 43 43 #include "posix/inttypes.h" 44 44 #include "posix/limits.h" 45 46 #define intmax_t posix_intmax_t47 #define uintmax_t posix_uintmax_t48 45 49 46 /**
Note:
See TracChangeset
for help on using the changeset viewer.