]>
Commit | Line | Data |
---|---|---|
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 | |
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 | |
3d9156a7 A |
26 | .Xr duplocale 3 , |
27 | .Xr newlocale 3 , | |
28 | .Xr querylocale 3 , | |
224c7076 A |
29 | .Xr uselocale 3 , |
30 | .Xr xlocale 3 |