diff options
| author | Alejandro Colomar <colomar.6.4.3@gmail.com> | 2020-10-01 16:32:01 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-10-01 17:20:02 +0200 |
| commit | 8f12d3f6838e1b65e872211286cb33418953a94d (patch) | |
| tree | 36c95e553550778aa5cf53ec31dea95efbdb32aa | |
| parent | c1900cfe9f09f19613d8b60b7c43fea057cf8520 (diff) | |
| download | man-pages-8f12d3f6838e1b65e872211286cb33418953a94d.tar.gz | |
system_data_types.7: Add int_fastN_t family of types
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man7/system_data_types.7 | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 4645ed5f48..c5d0b700d4 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -329,6 +329,83 @@ C99 and later; POSIX.1-2001 and later. See also: .BR imaxdiv (3) .RE +.\"------------------------------------- int_fastN_t ------------------/ +.TP +.IR int_fast N _t +.RS +Include: +.IR <stdint.h> . +Alternatively, +.IR <inttypes.h> . +.PP +.IR int_fast8_t , +.IR int_fast16_t , +.IR int_fast32_t , +.I int_fast64_t +.PP +Usually the fastest (see Notes) 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_FAST N _MIN , +.BR INT_FAST N _MAX ], +substituting N by the appropriate number. +.PP +The length modifiers for the +.IR int_fast N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRIdFAST N +and +.BR PRIiFAST N +(defined in +.IR <inttypes.h> ); +resulting for example in +.B %"PRIdFAST64" +or +.B %"PRIiFAST64" +for printing +.I int_fast64_t +values. +The length modifiers for the +.IR int_fast N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNdFAST N +and +.BR SCNiFAST N, +(defined in +.IR <inttypes.h> ); +resulting for example in +.B %"SCNdFAST8" +or +.B %"SCNiFAST8" +for scanning +.I int_fast8_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +Notes: +Where there is no single type that is fastest for all purposes, +the implementation may choose any type +with the required signedness and at least the minimum width. +.PP +See also the +.IR int_least 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 |
