QUERYLOCALE(3) BSD Library Functions Manual QUERYLOCALE(3)
NAME
querylocale -- Get locale name for a specified category
SYNOPSIS
##include <>
const char *
querylocale(int mask, localet 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 alphabetically, not
including LCALMASK, but it is best to specify one category at a time.
The available categories are documented in xlocale(3) and newlocale(3).
SEE ALSO
xlocale(3), duplocale(3), freelocale(3), newlocale(3), uselocale(3)
BSD March 11, 2005 BSD
|