duplocale.3 (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | duplocale.3 (12afe06c06846b49eab319388a689123dd7860a4) |
---|---|
1.\" Copyright (c) 2011 The FreeBSD Foundation 2.\" All rights reserved. 3.\" 4.\" This documentation was written by David Chisnall under sponsorship from 5.\" the FreeBSD Foundation. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 45 unchanged lines hidden (view full) --- 54.Fa locale_t 55associated with the current thread by 56.Xr uselocale 3 . 57These calls are therefore only thread safe on threads with a unique per-thread 58locale. 59.Pt 60The locale returned by this call must be freed with 61.Xr freelocale 3 . | 1.\" Copyright (c) 2011 The FreeBSD Foundation 2.\" All rights reserved. 3.\" 4.\" This documentation was written by David Chisnall under sponsorship from 5.\" the FreeBSD Foundation. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 45 unchanged lines hidden (view full) --- 54.Fa locale_t 55associated with the current thread by 56.Xr uselocale 3 . 57These calls are therefore only thread safe on threads with a unique per-thread 58locale. 59.Pt 60The locale returned by this call must be freed with 61.Xr freelocale 3 . |
62.Sh BUGS 63Ideally, 64.Xr uselocale 3 65should make a copy of the 66.Fa locale_t 67implicitly to ensure thread safety, 68and a copy of the global locale should be installed lazily on each thread. 69The FreeBSD implementation does not do this, 70for compatibility with Darwin. | |
71.Sh SEE ALSO 72.Xr freelocale 3 , 73.Xr localeconv 3 , 74.Xr newlocale 3 , 75.Xr querylocale 3 , 76.Xr uselocale 3 , 77.Xr xlocale 3 78.Sh STANDARDS 79This function, conforms to 80.St -p1003.1-2008 | 62.Sh SEE ALSO 63.Xr freelocale 3 , 64.Xr localeconv 3 , 65.Xr newlocale 3 , 66.Xr querylocale 3 , 67.Xr uselocale 3 , 68.Xr xlocale 3 69.Sh STANDARDS 70This function, conforms to 71.St -p1003.1-2008 |
72.Sh BUGS 73Ideally, 74.Xr uselocale 3 75should make a copy of the 76.Fa locale_t 77implicitly to ensure thread safety, 78and a copy of the global locale should be installed lazily on each thread. 79The FreeBSD implementation does not do this, 80for compatibility with Darwin. |
|