diff mbox series

[v2,3/8] system_data_types.7: Add 'uintmax_t'

Message ID 20200929103028.56566-4-colomar.6.4.3@gmail.com
State Not Applicable
Headers show
Series Add some <stdint.h> types | expand

Commit Message

Alejandro Colomar Sept. 29, 2020, 10:30 a.m. UTC
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
 man7/system_data_types.7 | 55 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
diff mbox series


diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index e718b3c30..2e7aca7d2 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -1136,6 +1136,61 @@  See also:
 .BR getpwnam (2),
 .BR credentials (7)
+.\"------------------------------------- uintmax_t --------------------/
+.I uintmax_t
+.IR <stdint.h> .
+.IR <inttypes.h> .
+An unsigned integer type
+capable of representing any value of any unsigned integer type
+supported by the implementation.
+According to the C language standard, it shall be
+capable of storing values in the range [0,
+The macro
+.\" TODO: Document UINT*_C(3)
+expands its argument to an integer constant of type
+.IR uintmax_t .
+The length modifier for
+.I uintmax_t
+for the
+.BR printf (3)
+and the
+.BR scanf (3)
+families of functions is
+.BR j ;
+resulting commonly in
+.B %ju
+.B %jx
+for printing
+.I uintmax_t
+.I uintmax_t
+is not large enough to represent values of type
+.I unsigned __int128
+in implementations where
+.I unsigned __int128
+is defined and
+.I unsigned long long
+is less than 128 bits wide.
+Conforming to: C99 and later; POSIX.1-2001 and later.
+See also the
+.I intmax_t
+type in this page.
 .\"------------------------------------- va_list ----------------------/
 .I va_list