Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (s) sscanf(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.
RELATED INFORMATION
Functions: atof(3), atoi(3), fp_class(3), fscanf(3), getc(3), getwc(3), isnan(3), printf(3),
scanf(3), strtod(3).
STANDARDS CONFORMANCE
The [EINVAL] errno value is an extension to the 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 %p conversion by the sscanf( ) 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.
527187-017 Hewlett-Packard Company 6−127