fwprintf.3c (2010 09)

f
fwprintf(3C) fwprintf(3C)
an optional h specifying that a following
d, i, o, u, x or X conversion wide-character
applies to a type short int or type unsigned short int argument (the argument will have
been promoted according to the integral promotions, and its value will be converted to
type short int or unsigned short int before printing)
an optional
hh specifying that a following
d, i, o, u, x or X conversion specifier applies to
a signed char or unsigned char argument ( the argument will have been promoted
according to the integer promotions, but its value will be converted to short or unsigned
short before printing)
an optional
hh specifying that a following
n conversion specifier applies to a pointer to a
signed char argument
an optional
hL specifying that a following
e, f,org conversion wide-character applies to
a type
extended which is the 80-bit IEEE-754 double-extended type in the Itanium(
architecture
an optional
j specifying that a following
d, i, o, u, x or X conversion specifier applies to
an intmax_t or uintmax_t argument
an optional
j specifying that a following
n conversion specifier applies to a pointer to an
intmax_t argument
an optional
l (ell) specifying that a following c conversion wide-character applies to a
wint_t argument
an optional
l (ell) specifying that a following s conversion wide-character applies to a
wchar_t argument
an optional
ll (ell-ell) specifying that following d, i, o, u, x
or X conversion specifier
applies to a long long or unsigned long long argument
an optional
ll (ell-ell) specifying that following n conversion specifier applies to a
pointer to a long long argument
an optional
t specifying that a following d, i, o, u,
x or X conversion specifier applies to
a ptrdiff_t or the corresponding unsigned type argument
an optional
t specifying that a following n conversion specifier applies to a pointer to a
ptrdiff_t argument
an optional
z specifying that a following d, i, o, u,
x or X conversion specifier applies to
a size_t argument or the corresponding signed integer type argument
an optional
z specifying that a following n conversion specifier applies to a pointer to a
size_t argument
For Itanium(R)-based systems if the optional decimal floating point feature is installed and
enabled, the following optional character specifications are allowed:
an optional
H specifying that a following f, F, e, E, g, G, a,or A conversion specifier
applies to a _Decimal32 argument.
an optional
D specifying that a following f, F, e, E, g, G, a,or A conversion specifier
applies to a _Decimal64 argument.
an optional
DD specifying that a following f, F, e, E, g, G, a,or A conversion specifier
applies to a _Decimal128 argument.
5. A conversion wide-character that indicates the type of conversion to be applied.
A field width, or precision, or both, may be indicated by an asterisk (*). In this case an argument of type
int supplies the field width or precision . Arguments specifying field width ,orprecision , or both must
appear in that order before the argument, if any, to be converted. A negative field width is taken as a
-
flag followed by a positive field width. A negative precision is taken as if the precision were omitted. In
format wide-character strings containing the %n$ form of a conversion specification, a field width or pre-
cision may be indicated by the sequence %n$, where m is a decimal integer in the range [1,
{NL_ARGMAX}] giving the position in the argument list (after the format argument) of an integer argu-
ment containing the field width or precision , for example:
wprintf(L"%1$d:%2$. *3$d:%4$, *3$d\n", hour, min, precision, sec);
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010