[RFC 31/37] intN_t.3, system_data_types.7: Move text to a separate page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man3/int16_t.3           |  2 +-
 man3/int32_t.3           |  2 +-
 man3/int64_t.3           |  2 +-
 man3/int8_t.3            |  2 +-
 man3/intN_t.3            | 81 +++++++++++++++++++++++++++++++++++++++-
 man7/system_data_types.7 | 81 ----------------------------------------
 6 files changed, 84 insertions(+), 86 deletions(-)

diff --git a/man3/int16_t.3 b/man3/int16_t.3
index db50c0f09..027707f61 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 db50c0f09..027707f61 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 db50c0f09..027707f61 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 db50c0f09..027707f61 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 db50c0f09..c8a595bac 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 4c5ee6625..836b390c6 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
-- 
2.33.1




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux