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


     querylocale -- Get locale name for a specified category


     #include <xlocale.h>

     const char *
     querylocale(int mask, locale_t loc);


     Returns the name of the locale for the category specified by mask.  The
     mask is scanned starting at the least significant bit, until the first
     set bit is found. This happens to scan the categories alphabetically, not
     including LC_ALL_MASK, but it is best to specify one category at a time.
     The available categories are documented in xlocale(3) and newlocale(3).


     duplocale(3), freelocale(3), newlocale(3), uselocale(3), xlocale(3)

BSD                             March 11, 2005                             BSD

Mac OS X 10.8 - Generated Thu Aug 30 10:53:54 CDT 2012
© 2000-2022
Individual documents may contain additional copyright information.