freelocale3
Frees an allocated locale
Usage
#include <xlocale.h>
int
freelocale(locale_t loc);
Overview
Frees the storage associated with loc. Sub-structures have their reference counts reduced, and are freed if the reference count becomes zero.
Return values
Returns zero on success, -1 on error. An error will occur if loc is not a locale_t, or is NULL or LC_GLOBAL_LOCALE.
Releases
135 releases since Mac OS X 10.4; the text changed 1 time.