Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
prisize_t.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRISIZE_T   "zu"
 PRIu64 alike for printing size_t
 

Macro Definition Documentation

◆ PRISIZE_T

#define PRISIZE_T   "zu"

Use this as:

size_t value = 42;
printf("value is %" PRISIZE_T ".", value);
// prints “value is 42.”
#define PRISIZE_T
PRIu64 alike for printing size_t
Definition prisize_t.h:27

Note that leaving a space on either side of PRISIZE_T does not seem relevant in C, but if you omit this in C++ it will be interpreted as a user-defined string literal indicator. So it is best to always use a space on either side.

Definition at line 27 of file prisize_t.h.