Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

Guardian Native C Library Calls (f) fprintf(3)
An optional h, l, ll,orL indicating the size of the argument corresponding to the follow-
ing integer or oating-point conversion specier:
An h followed by a d, i, o, u, x,orX conversion specier indicates that the argu-
ment will be treated as a short int or unsigned short int.
An h followed by an n conversion specier 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 specier indicates that the argu-
ment will be treated as a long int or unsigned long int.
An l followed by an n conversion specieer 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 specier 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 specieer 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 specier indicates that the argu-
ment will be treated as a long double.
An L followed by a d, i, o, x,orX conversion specier 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 species 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
eld width with a 0 (zero) as a leading character causes the eld width
value to be padded with leading zeros.
u Accepts an integer (int) value and converts it to unsigned decimal nota-
tion. The precision species 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 eld width with a 0 (zero) as a leading character causes the
eld width value to be padded with leading zeros.
o Accepts an integer (int) value and converts it to unsigned octal notation.
The precision species 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
eld width with a 0 (zero) as a leading character causes the eld width
value to be padded with leading zeros. An octal value for eld width is
not implied.
527192-005 Hewlett-Packard Company 243