Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> --- man7/system_data_types.7 | 68 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 2632436ed..8884d3e18 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1714,6 +1714,74 @@ and .I unsigned __int128 types in this page. .RE +.\"------------------------------------- uintptr_t --------------------/ +.TP +.I uintptr_t +.RS +Include: +.IR <stdint.h> . +Alternatively, +.IR <inttypes.h> . +.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 <inttypes.h> ); +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 <inttypes.h> ); +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 -- 2.28.0