]> git.saurik.com Git - apple/libc.git/blob - locale/freelocale.3
Libc-391.5.18.tar.gz
[apple/libc.git] / locale / freelocale.3
1 .Dd March 11, 2005
2 .Dt FREELOCALE 3
3 .Os
4 .Sh NAME
5 .Nm freelocale
6 .Nd Frees an allocated locale
7 .Sh SYNOPSIS
8 .In xlocale.h
9 .Ft int
10 .Fn freelocale "locale_t loc"
11 .Sh DESCRIPTION
12 Frees the storage associated with
13 .Va loc .
14 Sub-structures have their reference counts reduced,
15 and are freed if the reference count becomes zero.
16 .Sh RETURN VALUES
17 Returns zero on success, -1 on error. An error will occur if
18 .Va loc
19 is not a
20 .Vt locale_t ,
21 or is
22 .Dv NULL
23 or
24 .Dv LC_GLOBAL_LOCALE .
25 .Sh SEE ALSO
26 .Xr xlocale 3 ,
27 .Xr duplocale 3 ,
28 .Xr newlocale 3 ,
29 .Xr querylocale 3 ,
30 .Xr uselocale 3