diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index afff9e6bc..abaf9e3cc 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1412,6 +1412,74 @@ and .I unsigned __int128 types in this page. .RE +.\"------------------------------------- uintptr_t --------------------/ +.TP +.I uintptr_t +.RS +Include: +.IR . +Alternatively, +.IR . +.PP +An unsigned integer type +such that any valid +.RI ( "void *" ) +value can be converted to this type and back. +According to the C language standard, it shall be +capable of storing values in the range [0, +.BR UINTPTR_MAX ]. +.PP +The length modifier for +.I uintptr_t +for the +.BR printf (3) +family of functions +is expanded by the macros +.BR PRIuPTR, +.BR PRIoPTR, +.B PRIxPTR +and +.B PRIXPTR +(defined in +.IR ); +resulting commonly in +.B %"PRIuPTR" +or +.B %"PRIxPTR" +for printing +.I uintptr_t +values. +The length modifier for +.I uintptr_t +for the +.BR scanf (3) +family of functions +is expanded by the macros +.BR SCNuPTR, +.BR SCNoPTR, +.B SCNxPTR +and +.B SCNXPTR +(defined in +.IR ); +resulting commonly in +.B %"SCNuPTR" +or +.B %"SCNxPTR" +for scanning +.I uintptr_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +See also the +.I intptr_t +and +.I void * +.\" TODO: Document void * +types in this page. +.RE .\"------------------------------------- va_list ----------------------/ .TP .I va_list