inttypes.5 (2010 09)
i
inttypes(5) inttypes(5)
SCNd16 d scan formatting option for int16_t
SCNd32 d scan formatting option for int32_t
SCNd64 d scan formatting option for int64_t
SCNdMAX d scan formatting option for intmax_t
SCNi16 i scan formatting option for int16_t
SCNi32 i scan formatting option for int32_t
SCNi64 i scan formatting option for int64_t
SCNiMAX i scan formatting option for intmax_t
SCNu16 u scan formatting option for uint16_t
SCNu32 u scan formatting option for uint32_t
SCNu64 u scan formatting option for uint64_t
SCNo16 o scan formatting option for int16_t
SCNo32 o scan formatting option for int32_t
SCNo64 o scan formatting option for int64_t
SCNoMAX o scan formatting option for intmax_t
SCNx16 x scan formatting option for int16_t
SCNx32 x scan formatting option for int32_t
SCNx64 x scan formatting option for int64_t
SCNxMAX x scan formatting option for intmax_t
SCNdFAST d scan formatting option for intfast_t
SCNiFAST i scan formatting option for intfast_t
SCNoFAST o scan formatting option for intfast_t
SCNxFAST x scan formatting option for intfast_t
Notes
The formatting options for the printf() family of functions all begin with PRI, whereas the formatting
options for the scanf() family of functions all begin with SCN. These formatting strings may not be
interchangeable.
EXAMPLES
The following example shows how to use one of the print formatting options with the
printf()
function.
uint64_t u;
...
printf("u = %016" PRIx64 "\n", u);
AUTHOR
inttypes.h was developed by HP.
FILES
/usr/include/inttypes.h
SEE ALSO
imaxdiv(3), printf(3S), scanf(3S), standards(5), stdint(5).
HP-UX 11i Version 3: September 2010 − 3 − Hewlett-Packard Company 3