freelocale()

Frees a locale created with duplocale or newlocale 

Function


SYNOPSIS

#include <locale.h>

int freelocale(locale_t locale);


DESCRIPTION

Frees a locale. This relinquishes any resources held exclusively by this locale. Note that locales share reference-counted components, so a call to this function is not guaranteed to free all of the components.


RETURN VALUE

Returns 0 on success or -1 on error.


Standards Conformance

The function conforms to IEEE Std 1003.1-2008 'POSIX.1'


SEE ALSO

Functions:
duplocale(), localeconv(), newlocale(), querylocale(), uselocale(), xlocale()


PTC MKS Toolkit 10.5 Documentation Build 40.