mirror of https://github.com/mkerrisk/man-pages
setlocale.3: Restructure a particularly difficult sentence
Reported-by: Alejandro Colomar (man-pages) <alx.manpages@gmail.com> Reported-by: Bruno Haible <bruno@clisp.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2c916a1d3c
commit
402f955e66
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue