]> git.saurik.com Git - apple/libc.git/blame - locale/freelocale.3
Libc-594.9.5.tar.gz
[apple/libc.git] / locale / freelocale.3
CommitLineData
3d9156a7
A
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
12Frees the storage associated with
13.Va loc .
14Sub-structures have their reference counts reduced,
15and are freed if the reference count becomes zero.
16.Sh RETURN VALUES
17Returns zero on success, -1 on error. An error will occur if
18.Va loc
19is not a
20.Vt locale_t ,
21or is
22.Dv NULL
23or
24.Dv LC_GLOBAL_LOCALE .
25.Sh SEE ALSO
3d9156a7
A
26.Xr duplocale 3 ,
27.Xr newlocale 3 ,
28.Xr querylocale 3 ,
224c7076
A
29.Xr uselocale 3 ,
30.Xr xlocale 3