Returns a list of derived variants of
locale, which can be used to
e.g. construct locale-dependent filenames or search paths. The returned
list is sorted from most desirable to least desirable.
This function handles territory, charset and extra locale modifiers. See
setlocale(3) for information about locales and their format.
locale itself is guaranteed to be returned in the output.
For example, if
fr_BE, then the returned list
en_GB.UTF-8@euro, then the returned list
If you need the list of variants for the current locale,
A locale identifier.
|The data is owned by the caller of the function.|
|The string is a NUL terminated UTF-8 string.|