The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
inttypes.h File Reference

printf formats for the stdint.h types. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define __PRI64   "ll"
#define __PRIPTR   ""
#define PRId8   "d"
#define PRId16   "d"
#define PRId32   "d"
#define PRId64   __PRI64 "d"
#define PRIu8   "u"
#define PRIu16   "u"
#define PRIu32   "u"
#define PRIu64   __PRI64 "u"
#define PRIx8   "x"
#define PRIx16   "x"
#define PRIx32   "x"
#define PRIx64   __PRI64 "x"
#define PRIX32   "X"
#define PRIX64   __PRI64 "X"
#define PRIdPTR   __PRIPTR "d"
#define PRIuPTR   __PRIPTR "u"
#define PRIxPTR   __PRIPTR "x"
#define PRIdMAX   __PRI64 "d"
#define PRIuMAX   __PRI64 "u"

Functions

intmax_t strtoimax (const char *s, char **end, int base)
uintmax_t strtoumax (const char *s, char **end, int base)

Detailed Description

printf formats for the stdint.h types.

Macro Definition Documentation

◆ __PRI64

#define __PRI64   "ll"

◆ __PRIPTR

#define __PRIPTR   ""

◆ PRId8

#define PRId8   "d"

◆ PRId16

#define PRId16   "d"

◆ PRId32

#define PRId32   "d"

◆ PRId64

#define PRId64   __PRI64 "d"

◆ PRIu8

#define PRIu8   "u"

◆ PRIu16

#define PRIu16   "u"

◆ PRIu32

#define PRIu32   "u"

◆ PRIu64

#define PRIu64   __PRI64 "u"

◆ PRIx8

#define PRIx8   "x"

◆ PRIx16

#define PRIx16   "x"

◆ PRIx32

#define PRIx32   "x"

◆ PRIx64

#define PRIx64   __PRI64 "x"

◆ PRIX32

#define PRIX32   "X"

◆ PRIX64

#define PRIX64   __PRI64 "X"

◆ PRIdPTR

#define PRIdPTR   __PRIPTR "d"

◆ PRIuPTR

#define PRIuPTR   __PRIPTR "u"

◆ PRIxPTR

#define PRIxPTR   __PRIPTR "x"

◆ PRIdMAX

#define PRIdMAX   __PRI64 "d"

◆ PRIuMAX

#define PRIuMAX   __PRI64 "u"

Function Documentation

◆ strtoimax()

intmax_t strtoimax ( const char * s,
char ** end,
int base )

◆ strtoumax()

uintmax_t strtoumax ( const char * s,
char ** end,
int base )