Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
vswprintf(3) OSS Library Calls Reference Manual
— The maximum number of significant digits for the g and G conversions.
— The maximum number of bytes to be printed from a string in the s or S conver-
sion.
A field precision can be indicated by an * (asterisk) instead of a digit string. In this case,
an integer (int) value parameter supplies the field precision. The value parameter con-
verted for output is not fetched until the conversion letter is reached, so the parameters
specifying field width or precision must appear before the value (if any) to be converted.
If the value of the corresponding parameter is negative, it is treated as if the precision
had not been specified. When variable ordering with the Ldigit$ format is used, the *
(asterisk) specification for field width in precision is replaced by *digit$.
• An optional conversion specifier indicating the size of the argument corresponding to the
following character, integer, or floating-point conversion specifier:
—Anh followed by a d, i, o, u, x,orX conversion specifier indicates that the argu-
ment will be treated as a short int or unsigned short int.
—Anh followed by an n conversion specifier indicates that the argument will be
treated as a pointer to a short int.
—Anhh followed by a d, i, o, u, x,orX conversion specifier indicates that the
argument will be treated as a signed char or unsigned char. The argument is
promoted according to the integer promotions, but the value of the argument is
converted to signed char or unsigned char before printing.
—Anhh followed by an n conversion specifier indicates that the argument will be
treated as a pointer to a signed char.
—Aj followed by a d, i
, o, u, x,o
rX conversion
specifier indicates that the argu-
ment will be treated as a intmax_t or uintmax_t.
—Aj followed by an n conversion specifier indicates that the argument will be
treated as a pointer to a intmax_t.
—Anl followed by a d, i, o, u, x,orX conversion specifier indicates that the argu-
ment will be treated as a long int or unsigned long int.
—Anl followed by a n conversion specifier indicates that the argument will be
treated as a pointer to a long int.
—Anll followed by a d, i, o, u, x,orX conversion specifier indicates that the argu-
ment will be treated as a long long int or unsigned long long int.
—Anll followed by a n conversion specifier indicates that the argument will be
treated as a pointer to a long long int.
—AnL followed by an a, A, e, E, f, g,orG conversion specifier indicates that the
argument will be treated as a long double.
—AnL followed by a d, i, o, u, x,orX conversion
specifier indicates that the argu-
ment will be treated as a long long or an unsigned long long, which is a 64-bit
integer data type and an HP extension.
7−138 Hewlett-Packard Company 527187-017