manpagez: man pages & more
man freelocale(3)
Home | html | info | man
freelocale(3)            BSD Library Functions Manual            freelocale(3)


NAME

     freelocale -- Frees an allocated locale


SYNOPSIS

     #include <xlocale.h>

     int
     freelocale(locale_t loc);


DESCRIPTION

     Frees the storage associated with loc.  Sub-structures have their refer-
     ence 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.


SEE ALSO

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

BSD                             March 11, 2005                             BSD

Mac OS X 10.8 - Generated Mon Aug 27 18:29:06 CDT 2012
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.