Query: scanf_l
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCANF_L(3) BSD Library Functions Manual SCANF_L(3)NAMEscanf_l, fscanf_l, sscanf_l, vfscanf_l, vscanf_l, vsscanf_l -- input format conversionLIBRARYStandard C Library (libc, -lc)SYNOPSIS#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);DESCRIPTIONThe 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.SEE ALSOscanf(3), xlocale(3)STANDARDSThese functions do not conform to any specific standard so they should be considered as non-portable local extensions.HISTORYThese functions first appeared in Darwin and were first implemented in FreeBSD 9.1.BSDApril 8, 2012 BSD
Related Man Pages |
---|
vfscanf_l(3) - mojave |
vscanf_l(3) - mojave |
vsscanf_l(3) - mojave |
sscanf_l(3) - freebsd |
scanf_l(3) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Scanfile in shell |