From 402f955e667bc562493e8b9e22934bcf146b7b30 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 9 Jan 2021 09:44:09 +0100 Subject: [PATCH] setlocale.3: Restructure a particularly difficult sentence Reported-by: Alejandro Colomar (man-pages) Reported-by: Bruno Haible Signed-off-by: Michael Kerrisk --- man3/setlocale.3 | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/man3/setlocale.3 b/man3/setlocale.3 index 29ef37645..e4e2ebca9 100644 --- a/man3/setlocale.3 +++ b/man3/setlocale.3 @@ -168,20 +168,26 @@ setlocale(LC_ALL, ""); .EE .in .PP -after program initialization, by using the values returned -from a +after program initialization, and then: +.IP \(bu 2 +using the values returned from a .BR localeconv (3) -call -for locale-dependent information, by using the multibyte and wide -character functions for text processing if -.BR "MB_CUR_MAX > 1" , -and by using -.BR strcoll (3), +call for locale-dependent information; +.IP \(bu +using the multibyte and wide character functions for text processing if +.BR "MB_CUR_MAX > 1" ; +.IP \(bu +using +.BR strcoll (3) +and +.BR strxfrm (3) +to compare strings; and +.IP \(bu +using .BR wcscoll (3) -or -.BR strxfrm (3), +and .BR wcsxfrm (3) -to compare strings. +to compare wide-character strings. .SH RETURN VALUE A successful call to .BR setlocale ()