NAME
fscanf_l
, scanf_l
,
sscanf_l
, vfscanf_l
,
vscanf_l
, vsscanf_l
—
input format conversion
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdio.h>
#include <xlocale.h>
int
fscanf_l
(FILE * restrict stream,
locale_t loc, const char * restrict
format, ...);
int
scanf_l
(locale_t loc,
const char * restrict format,
...);
int
sscanf_l
(const char * restrict
str, locale_t loc, const char *
restrict format, ...);
#include
<stdarg.h>
#include <xlocale.h>
int
vfscanf_l
(FILE * restrict
stream, locale_t loc, const char
* restrict format, va_list ap);
int
vscanf_l
(locale_t loc,
const char * restrict format, va_list
ap);
int
vsscanf_l
(const char * restrict
str, locale_t loc, const char *
restrict format, va_list ap);
DESCRIPTION
The
scanf_l
(),
fscanf_l
(),
sscanf_l
(),
vscanf_l
(),
vsscanf_l
(),
and
vfscanf_l
()
functions are extended locale versions of the
scanf
(),
fscanf
(),
sscanf
(),
vscanf
(),
vsscanf
(),
and
vfscanf
()
functions, respectively. Refer to their manual pages for details. Also, see
xlocale(3) for more information about extended locales.