HP-UX Reference (11i v3 07/02) - 3 Library Functions N-Z (vol 7)
s
scanf(3S) scanf(3S)
APPLICATION USAGE
After
scanf() or fscanf() is applied to a stream, the stream becomes byte-oriented (see orienta-
tion(5)).
WARNINGS
Trailing white space (including a newline) is left unread unless matched in the control string.
Truncation of multi-byte characters may occur if a field width is used with the conversion character.
AUTHOR
scanf() was developed by AT&T and HP.
SEE ALSO
getc(3S), printf(3S), setlocale(3C), strtod(3C), strtol(3C), orientation(5), thread_safety(5), glossary(9).
STANDARDS CONFORMANCE
scanf(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
fscanf(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
sscanf(): AES, SVID2, SVID3, XPG2, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
374 Hewlett-Packard Company − 5 − HP-UX 11i Version 3: February 2007