mirror of https://github.com/mkerrisk/man-pages
system_data_types.7: Add int_leastN_t family of types
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
496b1aad79
commit
f9b54d3a2e
|
@ -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 <stdint.h> .
|
||||
Alternatively,
|
||||
.IR <inttypes.h> .
|
||||
.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 <inttypes.h> );
|
||||
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 <inttypes.h> );
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue