9 .\" source. A copy of the CDDL is also available via the Internet at
10 .\" http://www.illumos.org/license/CDDL.
11 .\"
12 .\"
13 .\" Copyright (c) 2014 Joyent, Inc. All rights reserved.
14 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
15 .\"
16 .TH TOWLOWER 3C "Jun 21, 2014"
17 .SH NAME
18 towlower, towlower_l \- transliterate upper-case wide characters to lower-case
19 .SH SYNOPSIS
20 .LP
21 .nf
22 #include <wctype.h>
23
24 \fBwint_t\fR \fBtowlower\fR(\fBwint_t\fR \fIwc\fR);
25 .fi
26 .LP
27 .nf
28 \fBwint_t\fR \fBtowlower_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
29 .nf
30 .SH DESCRIPTION
31 The function
32 .BR towlower()
33 is the wide character equivalent of the function
34 .BR tolower (3C).
35 It converts the upper-case wide character
36 .I wc
37 to the equivalent lower-case
38 wide character, if one exists. If one does not exist, it returns
39 .I wc
40 unchanged.
41 .LP
42 The function
43 .B towlower_l()
44 is equivalent to the function
45 .BR towlower() ,
46 but instead of operating in the current locale, operates in the
47 locale specified by
48 .IR loc .
49 .SH RETURN VALUES
|
9 .\" source. A copy of the CDDL is also available via the Internet at
10 .\" http://www.illumos.org/license/CDDL.
11 .\"
12 .\"
13 .\" Copyright (c) 2014 Joyent, Inc. All rights reserved.
14 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
15 .\"
16 .TH TOWLOWER 3C "Jun 21, 2014"
17 .SH NAME
18 towlower, towlower_l \- transliterate upper-case wide characters to lower-case
19 .SH SYNOPSIS
20 .LP
21 .nf
22 #include <wctype.h>
23
24 \fBwint_t\fR \fBtowlower\fR(\fBwint_t\fR \fIwc\fR);
25 .fi
26 .LP
27 .nf
28 \fBwint_t\fR \fBtowlower_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
29 .fi
30 .SH DESCRIPTION
31 The function
32 .BR towlower()
33 is the wide character equivalent of the function
34 .BR tolower (3C).
35 It converts the upper-case wide character
36 .I wc
37 to the equivalent lower-case
38 wide character, if one exists. If one does not exist, it returns
39 .I wc
40 unchanged.
41 .LP
42 The function
43 .B towlower_l()
44 is equivalent to the function
45 .BR towlower() ,
46 but instead of operating in the current locale, operates in the
47 locale specified by
48 .IR loc .
49 .SH RETURN VALUES
|