ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



QUERYLOCALE(3)           BSD Library Functions Manual           QUERYLOCALE(3)

NAME
     querylocale -- Get locale name for a specified category

SYNOPSIS
     #include <xlocale.h>

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

DESCRIPTION
     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 alphabeti-cally, alphabetically,
     cally, not including LC_ALL_MASK, but it is best to specify one category at a time.  The available cat-egories categories
     egories are documented in xlocale(3) and newlocale(3).

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

BSD                             March 11, 2005                             BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.