Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (t - v) vfprintf(3)
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 h, l, ll,orL indicating the size of the argument corresponding to the follow-
ing 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.
—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 an n conversion specifieer indicates that the argument will be
treated as a pointer to a long int.
—Anll followed by a
d, i, o, u, x,o
rX conversion
specifier indicates that the argu-
ment will be treated as a long long int or unsigned long long int.
—Anll followed by an n conversion specifieer indicates that the argument will be
treated as a pointer to a long long int.
—AnL followed by a e, E, f, g,orG conversion specifier indicates that the argu-
ment will be treated as a long double.
—AnL followed by a d, i, o, x,orX conversion specifier indicates that the argu-
ment will be treated as a long long, which is a 64-bit integer data type and an HP
extension.
A character that indicates the type of conversion to be applied:
% Performs no conversion. Prints %.
d or i Accepts an integer (int) value and converts it to signed decimal notation.
The precision specifies the minimum number of digits to appear. If the
value being converted can be represented in fewer digits, it is expanded
with leading zeros. The default precision is 1. The result of converting
a 0 (zero) value with a precision of 0 (zero) is a null string. Specifying a
field width with a 0 (zero) as a leading character causes the field width
value to be padded with leading zeros.
u Accepts an integer (int) value and converts it to unsigned decimal nota-
tion. The precision specifies the minimum number of digits to appear. If
the value being converted can be represented in fewer digits, it is
expanded with leading zeros. The default precision is 1. The result of
converting a 0 (zero) value with a precision of 0 (zero) is a null string.
527187-017 Hewlett-Packard Company 789