manpagez: man (manual) pages & more
man vfscanf_l(3)
Home | html | info | man
scanf_l(3)               BSD Library Functions Manual               scanf_l(3)


NAME

     fscanf_l, scanf_l, sscanf_l, vfscanf_l, vscanf_l, vsscanf_l -- input for-
     mat 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, respec-
     tively.  Refer to their manual pages for details.  Also, see xlocale(3)
     for more information about extended locales.


SEE ALSO

     scanf(3), xlocale(3)

BSD                             March 11, 2005                             BSD

Mac OS X 10.8 - Generated Thu Aug 30 11:42:06 CDT 2012