towlower.3 (104403) | towlower.3 (104406) |
---|---|
1.\" $NetBSD: towlower.3,v 1.4 2002/10/01 17:00:22 junyoung Exp $ | 1.\" Copyright (c) 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. |
2.\" | 3.\" |
3.\" Copyright (c) 1989, 1991 The Regents of the University of California. 4.\" All rights reserved. 5.\" | |
6.\" This code is derived from software contributed to Berkeley by 7.\" the American National Standards Committee X3, on Information 8.\" Processing Systems. 9.\" 10.\" Redistribution and use in source and binary forms, with or without 11.\" modification, are permitted provided that the following conditions 12.\" are met: 13.\" 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 30.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 31.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36.\" SUCH DAMAGE. 37.\" | 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without 9.\" modification, are permitted provided that the following conditions 10.\" are met: 11.\" 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 28.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" |
38.\" @(#)tolower.3 5.2 (Berkeley) 6/29/91 39.\" $FreeBSD: head/lib/libc/locale/towlower.3 104403 2002-10-03 10:40:01Z tjr $ | 36.\" @(#)tolower.3 8.1 (Berkeley) 6/4/93 37.\" $FreeBSD: head/lib/libc/locale/towlower.3 104406 2002-10-03 11:23:06Z tjr $ |
40.\" | 38.\" |
41.Dd December 22, 2000 | 39.Dd October 3, 2002 |
42.Dt TOWLOWER 3 43.Os 44.Sh NAME | 40.Dt TOWLOWER 3 41.Os 42.Sh NAME |
45.Nm towlower , towupper 46.Nd wide character case letter conversion utilities | 43.Nm towlower 44.Nd upper case to lower case letter conversion (wide character version) |
47.Sh LIBRARY 48.Lb libc 49.Sh SYNOPSIS 50.In wctype.h 51.Ft wint_t 52.Fn towlower "wint_t wc" | 45.Sh LIBRARY 46.Lb libc 47.Sh SYNOPSIS 48.In wctype.h 49.Ft wint_t 50.Fn towlower "wint_t wc" |
53.Ft wint_t 54.Fn towupper "wint_t wc" | |
55.Sh DESCRIPTION 56The | 51.Sh DESCRIPTION 52The |
57.Fn towlower 58function converts an upper-case wide character to the corresponding lower-case | 53.Fn tolower 54function converts an upper-case letter to the corresponding lower-case |
59letter. | 55letter. |
60The 61.Fn towupper 62function converts an lower-case wide character to the corresponding upper-case 63letter. | |
64.Sh RETURN VALUES | 56.Sh RETURN VALUES |
65If the argument is an upper/lower-case letter, the 66.Fn tolower 67function returns the corresponding counterpart if there is | 57If the argument is an upper-case letter, the 58.Fn towlower 59function returns the corresponding lower-case letter if there is |
68one; otherwise the argument is returned unchanged. 69.Sh SEE ALSO | 60one; otherwise the argument is returned unchanged. 61.Sh SEE ALSO |
62.Xr iswlower 3 , |
|
70.Xr tolower 3 , | 63.Xr tolower 3 , |
71.Xr toupper 3 , | 64.Xr towupper 3 , |
72.Xr wctrans 3 73.Sh STANDARDS | 65.Xr wctrans 3 66.Sh STANDARDS |
74The functions conform to 75.St -p1003.1-2001 . | 67The 68.Fn towlower 69function conforms to 70.St -isoC-99 . |