vscanf_l3
Input format conversion
Part of scanf_l(3).
Usage
#include <stdio.h>
#include <xlocale.h>
int
scanf_l(locale_t loc, const char * restrict format, ...);
int
fscanf_l(FILE * restrict stream, locale_t loc, const char * restrict format, ...);
int
sscanf_l(const char * restrict str, locale_t loc, const char * restrict format, ...);
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);
Library
Standard C Library (libc, -lc)
Overview
The above functions scan input according to a specified format in the locale loc. They behave in the same way as the versions without the _l suffix, but use the specific locale rather than the global or per-thread locale. See the specific manual pages for more information.
Releases
33 releases since FreeBSD 9.1-RELEASE; the text changed 19 times.