freebsd man page for freelocale

Query: freelocale

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FREELOCALE(3)						   BSD Library Functions Manual 					     FREELOCALE(3)

NAME
freelocale -- Frees a locale created with duplocale(3) or newlocale(3)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <xlocale.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.
BSD
September 17, 2011 BSD
Related Man Pages
duplocale(3) - linux
uselocale(3) - linux
freelocale(3) - freebsd
uselocale(3) - opendarwin
uselocale(3) - minix
Similar Topics in the Unix Linux Community
Mac OS X: Based on UNIX - Solid As a Rock
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
Scripts without shebang
Memory Leaks
Controlling user input