PSXSDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
inttypes.h
Go to the documentation of this file.
1 /* inttypes.h */
2 
3 #ifndef _INTTYPES_H
4 #define _INTTYPES_H
5 
6 #include <stdint.h>
7 
8 typedef unsigned char uint8_t;
9 typedef unsigned short uint16_t;
10 typedef unsigned int uint32_t;
11 typedef unsigned long long uint64_t;
12 
13 typedef unsigned char uint_least8_t;
14 typedef unsigned short uint_least16_t;
15 typedef unsigned int uint_least32_t;
16 typedef unsigned long long uint_least64_t;
17 
18 typedef unsigned char uint_fast8_t;
19 typedef unsigned short uint_fast16_t;
20 typedef unsigned int uint_fast32_t;
21 typedef unsigned long long uint_fast64_t;
22 
23 typedef unsigned long long uintmax_t;
24 typedef unsigned int uintptr_t;
25 
26 typedef signed char int8_t;
27 typedef short int16_t;
28 typedef int int32_t;
29 typedef long long int64_t;
30 
31 typedef signed char int_least8_t;
32 typedef short int_least16_t;
33 typedef int int_least32_t;
34 typedef long long int_least64_t;
35 
36 typedef char int_fast8_t;
37 typedef short int_fast16_t;
38 typedef int int_fast32_t;
39 typedef long long int_fast64_t;
40 
41 typedef long long intmax_t;
42 
43 typedef long intptr_t;
44 
45 #define PRIu8 "hhu"
46 #define PRIu16 "hu"
47 #define PRIu32 "u"
48 #define PRIu64 "llu"
49 
50 #define PRIs8 "hhd"
51 #define PRIs16 "hd"
52 #define PRIs32 "d"
53 #define PRIs64 "lld"
54 
55 #define PRIuLEAST8 "hhu"
56 #define PRIuLEAST16 "hu"
57 #define PRIuLEAST32 "u"
58 #define PRIuLEAST64 "llu"
59 
60 #define PRIuFAST8 "hhu"
61 #define PRIuFAST16 "hu"
62 #define PRIuFAST32 "u"
63 #define PRIuFAST64 "llu"
64 
65 #define PRIuMAX "llu"
66 #define PRIuPTR "lu"
67 
68 #endif