querylocale3
Get locale name for a specified category
Usage
#include <xlocale.h>
const char *
querylocale(int mask, locale_t loc);
Overview
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).
Releases
135 releases since Mac OS X 10.4; the text changed 1 time.