Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)
vfprintf(3) Guardian Native C Library Calls Reference Manual
• An optional h, l, ll,orL indicating the size of the argument corresponding to the follow-
ing integer or floating-point conversion specifier:
— An h 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.
— An h followed by an n conversion specifier indicates that the argument will be
treated as a pointer to a short int.
— An l 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.
— An l followed by an n conversion specifieer indicates that the argument will be
treated as a pointer to a long int.
— An ll 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.
— An ll followed by an n conversion specifieer indicates that the argument will be
treated as a pointer to a long long int.
— An L followed by a e, E, f, g,orG conversion specifier indicates that the argu-
ment will be treated as a long double.
— An L 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.
Specifying a field width with a 0 (zero) as a leading character causes the
field width value to be padded with leading zeros.
o Accepts an integer (int) value and converts it to unsigned octal 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. An octal value for field width is
not implied.
7−44 Hewlett-Packard Company 527192-005