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

fscanf(3) Guardian Native C Library Calls Reference Manual
RELATED INFORMATION
Functions: atof(3), atoi(3), fp_class(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3),
sscanf(3).
STANDARDS CONFORMANCE
The [EILSEQ] and [EINVAL] errno values are extensions to the POSIX standards dened in the
XPG4 Version 2 specication.
The POSIX standards leave some features to the implementing vendor to dene. The following
features are affected in the HP implementation:
The input for a %p conversion by the fscanf() function must be a pointer to a pointer to
void.
A - (dash) character that is neither the rst nor last character in a scanset for %[scanset ]
conversion indicates a range of values. The value preceding a - (dash) character must be
lexically less than or equal to the value after the - (dash).
The following are HP extensions to the XPG4 Version 2 specication:
The conversion specier L followed by a d, i, n, o,orx conversion code character indi-
cates that the receiving variable is treated as a long long, which is a 64-bit integer data
type.
The conversion specier ll followed by a d, i, n, o,orx indicates that the argument will
be treated as an unsigned long long, which is a 64-bit integer data type.
272 Hewlett-Packard Company 527192-005