aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-11-02 17:15:34 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-02-24 23:17:45 +0100
commit5618170ae00e79bd745fae332818b5b17b3bb2ab (patch)
tree5b221283ed47484dc3cece4fa2b8b4dfcb31a922
parentedd831b161e369b6dbf7ef86b1eb2c3fab5f13a0 (diff)
downloadman-pages-5618170ae00e79bd745fae332818b5b17b3bb2ab.tar.gz
intN_t.3, system_data_types.7: Move text to a separate page
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/int16_t.32
-rw-r--r--man3/int32_t.32
-rw-r--r--man3/int64_t.32
-rw-r--r--man3/int8_t.32
-rw-r--r--man3/intN_t.381
-rw-r--r--man7/system_data_types.781
6 files changed, 84 insertions, 86 deletions
diff --git a/man3/int16_t.3 b/man3/int16_t.3
index db50c0f091..027707f61a 100644
--- a/man3/int16_t.3
+++ b/man3/int16_t.3
@@ -1 +1 @@
-.so man7/system_data_types.7
+.so man3/intN_t.3
diff --git a/man3/int32_t.3 b/man3/int32_t.3
index db50c0f091..027707f61a 100644
--- a/man3/int32_t.3
+++ b/man3/int32_t.3
@@ -1 +1 @@
-.so man7/system_data_types.7
+.so man3/intN_t.3
diff --git a/man3/int64_t.3 b/man3/int64_t.3
index db50c0f091..027707f61a 100644
--- a/man3/int64_t.3
+++ b/man3/int64_t.3
@@ -1 +1 @@
-.so man7/system_data_types.7
+.so man3/intN_t.3
diff --git a/man3/int8_t.3 b/man3/int8_t.3
index db50c0f091..027707f61a 100644
--- a/man3/int8_t.3
+++ b/man3/int8_t.3
@@ -1 +1 @@
-.so man7/system_data_types.7
+.so man3/intN_t.3
diff --git a/man3/intN_t.3 b/man3/intN_t.3
index db50c0f091..c8a595baca 100644
--- a/man3/intN_t.3
+++ b/man3/intN_t.3
@@ -1 +1,80 @@
-.so man7/system_data_types.7
+.TH INTN_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+intN_t, int8_t, int16_t, int32_t, int64_t \- fixed-width basic integer types
+.SH SYNOPSIS
+.nf
+.B #include <stdint.h>
+.PP
+.BR typedef " /* ... */ " int8_t;
+.BR typedef " /* ... */ " int16_t;
+.BR typedef " /* ... */ " int32_t;
+.BR typedef " /* ... */ " int64_t;
+.fi
+.SH DESCRIPTION
+.IR int N _t
+are
+signed integer types
+of a fixed width of exactly N bits,
+N being the value specified in its type name.
+According to the C language standard, they shall be
+capable of storing values in the range
+.RB [ INT N _MIN ,
+.BR INT N _MAX ],
+substituting N by the appropriate number.
+.PP
+According to POSIX,
+.IR int8_t ,
+.IR int16_t ,
+and
+.I int32_t
+are required;
+.I int64_t
+is only required in implementations that provide integer types with width 64;
+and all other types of this form are optional.
+.PP
+The length modifiers for the
+.IR int N _t
+types for the
+.BR printf (3)
+family of functions
+are expanded by macros of the forms
+.BR PRId N
+and
+.BR PRIi N
+(defined in
+.IR <inttypes.h> );
+resulting for example in
+.B %"PRId64"
+or
+.B %"PRIi64"
+for printing
+.I int64_t
+values.
+The length modifiers for the
+.IR int N _t
+types for the
+.BR scanf (3)
+family of functions
+are expanded by macros of the forms
+.BR SCNd N
+and
+.BR SCNi N,
+(defined in
+.IR <inttypes.h> );
+resulting for example in
+.B %"SCNd8"
+or
+.B %"SCNi8"
+for scanning
+.I int8_t
+values.
+.PP
+.IR "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 intmax_t (3),
+.BR intptr_t (3),
+.BR printf (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 0d33e2d8f9..cca899446c 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -69,87 +69,6 @@ system_data_types \- overview of system data types
.\"------------------------------------- imaxdiv_t --------------------/
.\"------------------------------------- intmax_t ---------------------/
.\"------------------------------------- intN_t -----------------------/
-.TP
-.IR int N _t
-.RS
-.IR Include :
-.IR <stdint.h> .
-Alternatively,
-.IR <inttypes.h> .
-.PP
-.IR int8_t ,
-.IR int16_t ,
-.IR int32_t ,
-.I int64_t
-.PP
-A signed integer type
-of a fixed width of exactly N bits,
-N being the value specified in its type name.
-According to the C language standard, they shall be
-capable of storing values in the range
-.RB [ INT N _MIN ,
-.BR INT N _MAX ],
-substituting N by the appropriate number.
-.PP
-According to POSIX,
-.IR int8_t ,
-.IR int16_t ,
-and
-.I int32_t
-are required;
-.I int64_t
-is only required in implementations that provide integer types
-with width 64;
-and all other types of this form are optional.
-.PP
-The length modifiers for the
-.IR int N _t
-types for the
-.BR printf (3)
-family of functions
-are expanded by macros of the forms
-.BR PRId N
-and
-.BR PRIi N
-(defined in
-.IR <inttypes.h> );
-resulting for example in
-.B %"PRId64"
-or
-.B %"PRIi64"
-for printing
-.I int64_t
-values.
-The length modifiers for the
-.IR int N _t
-types for the
-.BR scanf (3)
-family of functions
-are expanded by macros of the forms
-.BR SCNd N
-and
-.BR SCNi N,
-(defined in
-.IR <inttypes.h> );
-resulting for example in
-.B %"SCNd8"
-or
-.B %"SCNi8"
-for scanning
-.I int8_t
-values.
-.PP
-.IR "Conforming to" :
-C99 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-the
-.IR intmax_t ,
-.IR uint N _t ,
-and
-.I uintmax_t
-types in this page.
-.RE
.\"------------------------------------- intptr_t ---------------------/
.TP
.I intptr_t