Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Formatted input and output functions contain a length modifier which provides the above facilities for input/output.  The j specifier in a format string indicates that the following d, i, o, u, x, X, or n conversion specifier will apply to an argument with type pointer to intmax_t or uintmax_t.

Wiki Markup
\[[ISO/IEC 9899-1999:TC2|AA. C References#ISO/IEC 9899-1999TC2]] Section 
C99 Section
7.19.6
.2
,
"The fscanf function" provides the following definitions for the j and t length modifiers.

j specifies that a following d, i, o, u, x, X, or n conversion specifier applies to an argument with type pointer to intmax_t or uintmax_t.

t Specifies that a following d, i, o, u, x, X, or n conversion specifier applies to an argument with type pointer to ptrdiff_t or the corresponding unsigned integer type.

...

 "Formatted input/output functions," and Section 7.18.1.5, "Greatest-width integer

...

 types"