From: Alejandro Colomar Date: Thu, 1 Oct 2020 14:35:33 +0000 (+0200) Subject: system_data_types.7: Add int_leastN_t family of types X-Git-Tag: man-pages-5.09~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b54d3a2eb5da554f9c6979b588fec534082586;p=thirdparty%2Fman-pages.git system_data_types.7: Add int_leastN_t family of types Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index c130b72567..3336de463a 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -406,6 +406,78 @@ and .IR uint N _t types in this page. .RE +.\"------------------------------------- int_leastN_t -----------------/ +.TP +.IR int_least N _t +.RS +Include: +.IR . +Alternatively, +.IR . +.PP +.IR int_least8_t , +.IR int_least16_t , +.IR int_least32_t , +.I int_least64_t +.PP +The narrowest signed integer type +of a width of at least 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_LEAST N _MIN , +.BR INT_LEAST N _MAX ], +substituting N by the appropriate number. +.PP +The length modifiers for the +.IR int_least N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRIdLEAST N +and +.BR PRIiLEAST N +(defined in +.IR ); +resulting for example in +.B %"PRIdLEAST64" +or +.B %"PRIiLEAST64" +for printing +.I int_least64_t +values. +The length modifiers for the +.IR int_least N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNdLEAST N +and +.BR SCNiLEAST N, +(defined in +.IR ); +resulting for example in +.B %"SCNdLEAST8" +or +.B %"SCNiLEAST8" +for scanning +.I int_least8_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +See also the +.IR int_fast N _t , +.IR int N _t , +.IR uint_fast N _t , +.IR uint_least N _t +and +.IR uint N _t +types in this page. +.RE .\"------------------------------------- intmax_t ---------------------/ .TP .I intmax_t