SCNxPTR Constant

inttypes.h

#define SCNxPTR "lx"

Format specifier for scanning an integer of type intptr_t or uintptr_t written as an unsigned hexadecimal (lowercase) integer.

Definition mandated by the C99 standard.