diff options
| author | schwarze <> | 2019-01-18 07:43:36 +0000 |
|---|---|---|
| committer | schwarze <> | 2019-01-18 07:43:36 +0000 |
| commit | f9d7fe103d63d17a4a8c1e22d32afa8968b0377f (patch) | |
| tree | 0a4555e6a772cc7db89f83a4ad4aa669ca28000b /src/lib/libc/string/strxfrm.3 | |
| parent | 5b305b050d8d5d8d9acd4e8bc4c5a314e634e5d6 (diff) | |
| download | openbsd-f9d7fe103d63d17a4a8c1e22d32afa8968b0377f.tar.gz openbsd-f9d7fe103d63d17a4a8c1e22d32afa8968b0377f.tar.bz2 openbsd-f9d7fe103d63d17a4a8c1e22d32afa8968b0377f.zip | |
Improve the description of locale dependency:
* mention LC_COLLATE;
* clarify that all these functions are infested, including the *_l() versions;
* avoid ENVIRONMENT, these functions don't inspect it;
* and point to the C library functions that change the locale.
OK millert@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/string/strxfrm.3 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/lib/libc/string/strxfrm.3 b/src/lib/libc/string/strxfrm.3 index 1a96c8512e..dab3673f38 100644 --- a/src/lib/libc/string/strxfrm.3 +++ b/src/lib/libc/string/strxfrm.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: strxfrm.3,v 1.11 2017/09/05 03:16:13 schwarze Exp $ | 1 | .\" $OpenBSD: strxfrm.3,v 1.12 2019/01/18 07:43:36 schwarze Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 4 | .\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> | 4 | .\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> |
| @@ -32,7 +32,7 @@ | |||
| 32 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 32 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 33 | .\" SUCH DAMAGE. | 33 | .\" SUCH DAMAGE. |
| 34 | .\" | 34 | .\" |
| 35 | .Dd $Mdocdate: September 5 2017 $ | 35 | .Dd $Mdocdate: January 18 2019 $ |
| 36 | .Dt STRXFRM 3 | 36 | .Dt STRXFRM 3 |
| 37 | .Os | 37 | .Os |
| 38 | .Sh NAME | 38 | .Sh NAME |
| @@ -69,12 +69,15 @@ both have the same effect as | |||
| 69 | and the global locale, the thread-specific locale, and the | 69 | and the global locale, the thread-specific locale, and the |
| 70 | .Fa locale | 70 | .Fa locale |
| 71 | argument are ignored. | 71 | argument are ignored. |
| 72 | .Sh ENVIRONMENT | 72 | On other operating systems, the behaviour may depend on the |
| 73 | On other operating systems, the behaviour of | ||
| 74 | .Fn strxfrm | ||
| 75 | may depend on the | ||
| 76 | .Dv LC_CTYPE | 73 | .Dv LC_CTYPE |
| 77 | .Xr locale 1 . | 74 | and |
| 75 | .Dv LC_COLLATE | ||
| 76 | locale categories set with | ||
| 77 | .Xr setlocale 3 , | ||
| 78 | .Xr uselocale 3 , | ||
| 79 | or | ||
| 80 | .Xr newlocale 3 . | ||
| 78 | .Sh SEE ALSO | 81 | .Sh SEE ALSO |
| 79 | .Xr newlocale 3 , | 82 | .Xr newlocale 3 , |
| 80 | .Xr setlocale 3 , | 83 | .Xr setlocale 3 , |
