Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
Guardian Native C Library Calls (f) fscanf(3)
[ENOMEM] Insufficient memory is available for the operation.
[ENXIO] A request was made to a nonexistent device, or the request was outside the capa-
bilities of the device.
[EOVERFLOW]
An attempt was made to read at or beyond the file offset maximum.
RELATED INFORMATION
Functions: atof(3), atoi(3), fp_class(3), getc(3), getwc(3), isnan(3), printf(3), scanf(3),
sscanf(3), strtod(3).
STANDARDS CONFORMANCE
The [EILSEQ] and [EINVAL] errno values are extensions to the POSIX standards defined in the
XPG4 Version 2 specification.
The POSIX standards leave some features to the implementing vendor to define. 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 first 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 specification:
• The conversion specifier L followed by a d, i, o, u, x,orX conversion specifier indicates
that the argument will be treated as a long long or an unsigned long long, which is a 64-
bit integer data type.
527192-018 Hewlett-Packard Company 2−135