74 lines
1.8 KiB
C
74 lines
1.8 KiB
C
|
/* inttypes.h: Integer format specifiers for use in printf() and scanf(). */
|
||
|
|
||
|
#ifndef _INTTYPES_H
|
||
|
#define _INTTYPES_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#define __PRI64_PREFIX "l"
|
||
|
|
||
|
#define PRId8 "d"
|
||
|
#define PRId16 "d"
|
||
|
#define PRId32 "d"
|
||
|
#define PRId64 __PRI64_PREFIX "d"
|
||
|
#define PRIdLEAST8 "d"
|
||
|
#define PRIdLEAST16 "d"
|
||
|
#define PRIdLEAST32 "d"
|
||
|
#define PRIdLEAST64 __PRI64_PREFIX "d"
|
||
|
#define PRIdFAST8 "d"
|
||
|
#define PRIdFAST16 "d"
|
||
|
#define PRIdFAST32 "d"
|
||
|
#define PRIdFAST64 __PRI64_PREFIX "d"
|
||
|
#define PRIdMAX __PRI64_PREFIX "d"
|
||
|
#define PRIdPTR __PRI64_PREFIX "d"
|
||
|
#define PRIi8 "d"
|
||
|
#define PRIi16 "d"
|
||
|
#define PRIi32 "d"
|
||
|
#define PRIi64 __PRI64_PREFIX "d"
|
||
|
#define PRIiLEAST8 "d"
|
||
|
#define PRIiLEAST16 "d"
|
||
|
#define PRIiLEAST32 "d"
|
||
|
#define PRIiLEAST64 __PRI64_PREFIX "d"
|
||
|
#define PRIiFAST8 "d"
|
||
|
#define PRIiFAST16 "d"
|
||
|
#define PRIiFAST32 "d"
|
||
|
#define PRIiFAST64 __PRI64_PREFIX "d"
|
||
|
#define PRIiMAX __PRI64_PREFIX "d"
|
||
|
#define PRIiPTR __PRI64_PREFIX "d"
|
||
|
#define PRIu8 "u"
|
||
|
#define PRIu16 "u"
|
||
|
#define PRIu32 "u"
|
||
|
#define PRIu64 __PRI64_PREFIX "u"
|
||
|
#define PRIuLEAST8 "u"
|
||
|
#define PRIuLEAST16 "u"
|
||
|
#define PRIuLEAST32 "u"
|
||
|
#define PRIuLEAST64 __PRI64_PREFIX "u"
|
||
|
#define PRIuFAST8 "u"
|
||
|
#define PRIuFAST16 "u"
|
||
|
#define PRIuFAST32 "u"
|
||
|
#define PRIuFAST64 __PRI64_PREFIX "u"
|
||
|
#define PRIuMAX __PRI64_PREFIX "u"
|
||
|
#define PRIuPTR __PRI64_PREFIX "u"
|
||
|
#define PRIx8 "x"
|
||
|
#define PRIx16 "x"
|
||
|
#define PRIx32 "x"
|
||
|
#define PRIx64 __PRI64_PREFIX "x"
|
||
|
#define PRIxLEAST8 "x"
|
||
|
#define PRIxLEAST16 "x"
|
||
|
#define PRIxLEAST32 "x"
|
||
|
#define PRIxLEAST64 __PRI64_PREFIX "x"
|
||
|
#define PRIxFAST8 "x"
|
||
|
#define PRIxFAST16 "x"
|
||
|
#define PRIxFAST32 "x"
|
||
|
#define PRIxFAST64 __PRI64_PREFIX "x"
|
||
|
#define PRIxMAX __PRI64_PREFIX "x"
|
||
|
#define PRIxPTR __PRI64_PREFIX "x"
|
||
|
#define PRIX8 PRIx8
|
||
|
#define PRIX16 PRIx16
|
||
|
#define PRIX32 PRIx32
|
||
|
#define PRIX64 PRIx64
|
||
|
#define PRIXMAX PRIxMAX
|
||
|
#define PRIXPTR PRIxPTR
|
||
|
|
||
|
#endif
|