aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/intptr_t.364
-rw-r--r--man7/system_data_types.764
2 files changed, 63 insertions, 65 deletions
diff --git a/man3/intptr_t.3 b/man3/intptr_t.3
index db50c0f091..c53931390c 100644
--- a/man3/intptr_t.3
+++ b/man3/intptr_t.3
@@ -1 +1,63 @@
-.so man7/system_data_types.7
+.TH INTPTR_T 3 2022-02-25 Linux "Linux Programmer's Manual"
+.SH NAME
+intptr_t \- integer types wide enough to hold pointers
+.SH SYNOPSIS
+.nf
+.B #include <stdint.h>
+.PP
+.BR typedef " /* ... */ " intptr_t;
+.fi
+.SH DESCRIPTION
+.I intptr_t
+is a signed integer type
+such that any valid
+.RI ( "void *" )
+value can be converted to this type and then converted back.
+According to the C language standard, it shall be
+capable of storing values in the range
+.RB [ INTPTR_MIN ,
+.BR INTPTR_MAX ].
+.PP
+The length modifier for
+.I intptr_t
+for the
+.BR printf (3)
+family of functions
+is expanded by the macros
+.B PRIdPTR
+and
+.B PRIiPTR
+(defined in
+.IR <inttypes.h> );
+resulting commonly in
+.B %"PRIdPTR"
+or
+.B %"PRIiPTR"
+for printing
+.I intptr_t
+values.
+The length modifier for
+.I intptr_t
+for the
+.BR scanf (3)
+family of functions
+is expanded by the macros
+.B SCNdPTR
+and
+.B SCNiPTR,
+(defined in
+.IR <inttypes.h> );
+resulting commonly in
+.B %"SCNdPTR"
+or
+.B %"SCNiPTR"
+for scanning
+.I intptr_t
+values.
+.SH CONFORMING TO
+C99 and later; POSIX.1-2001 and later.
+.SH NOTES
+The following header also provides these types:
+.IR <inttypes.h> .
+.SH SEE ALSO
+.BR void (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 84f5b69953..6a55136d5a 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -70,70 +70,6 @@ system_data_types \- overview of system data types
.\"------------------------------------- intmax_t ---------------------/
.\"------------------------------------- intN_t -----------------------/
.\"------------------------------------- intptr_t ---------------------/
-.TP
-.I intptr_t
-.RS
-.IR Include :
-.IR <stdint.h> .
-Alternatively,
-.IR <inttypes.h> .
-.PP
-A signed 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
-.RB [ INTPTR_MIN ,
-.BR INTPTR_MAX ].
-.PP
-The length modifier for
-.I intptr_t
-for the
-.BR printf (3)
-family of functions
-is expanded by the macros
-.B PRIdPTR
-and
-.B PRIiPTR
-(defined in
-.IR <inttypes.h> );
-resulting commonly in
-.B %"PRIdPTR"
-or
-.B %"PRIiPTR"
-for printing
-.I intptr_t
-values.
-The length modifier for
-.I intptr_t
-for the
-.BR scanf (3)
-family of functions
-is expanded by the macros
-.B SCNdPTR
-and
-.B SCNiPTR,
-(defined in
-.IR <inttypes.h> );
-resulting commonly in
-.B %"SCNdPTR"
-or
-.B %"SCNiPTR"
-for scanning
-.I intptr_t
-values.
-.PP
-.IR "Conforming to" :
-C99 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-the
-.I uintptr_t
-and
-.I void *
-types in this page.
-.RE
.\"------------------------------------- lconv ------------------------/
.\"------------------------------------- ldiv_t -----------------------/
.\"------------------------------------- lldiv_t ----------------------/