tail head cat sleep
QR code linking to this page

Manual Pages  — FREELOCALE

NAME

freelocale – Frees a locale created with duplocale(3) or newlocale(3)

CONTENTS

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <locale.h>

int
freelocale(locale_t locale);

DESCRIPTION

Frees a locale_t. 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 VALUES

Returns 0 on success or -1 on error.

SEE ALSO

duplocale(3), localeconv(3), newlocale(3), querylocale(3), uselocale(3), xlocale(3)

STANDARDS

The freelocale() function differs from IEEE Std 1003.1-2008 ("POSIX.1") in that its return type is int rather than void.

FREELOCALE (3) September 17, 2011

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints.
— The Unix Haters' handbook