INTERNATIONAL VERSION
Page 1 (printed 6/20/89)
NL_SCANF(S) UNIX System V NL_SCANF(S)
Name
nl_scanf, nl_fscanf, nl_sscanf - converts formatted native
language input
Syntax
int nl_scanf(format [, pointer ...])
char *format;
int nl_fscanf(stream, format [, pointer ...])
FILE *stream;
char *format;
int nl_sscanf(s, format [, pointer ...])
char *s, *format;
Description
The functions nl_scanf, nl_fscanf and nl_sscanf provide
similar functionality to the standard scanf, fscanf and
sscanf routines (see scanf(S)), with the difference that the
conversion character % in the format string is replaced by
the sequence %digit$, where digit is a decimal digit n in
the range (1-{ NL_ARGMAX }) (see limits(F)). Conversions
are applied to the nth argument in the argument list, rather
than to the next unused argument.
The format passed to these functions can contain either form
of conversion specification, such as % or %digit$, although
the two forms cannot be mixed within a single format string.
See Also
limits(F), nl_init(S), nl_printf(S), scanf(S)
Value Added
nl_fscanf, nl_scanf and nl_sscanf are extensions of AT&T
System V provided by the Santa Cruz Operation.
(printed 6/20/89)