SCANF_L(3) | Library Functions Manual | SCANF_L(3) |
fscanf_l
, scanf_l
,
sscanf_l
, vfscanf_l
,
vscanf_l
, vsscanf_l
—
input format conversion
Standard C Library (libc, -lc)
#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);
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.
March 11, 2005 | macOS 15.2 |