tolower.3 (b9b90a131248967679ea3943c6481203add07695) tolower.3 (5b86168f54047e3c31030899945a37ca8bd5db40)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
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

--- 22 unchanged lines hidden (view full) ---

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.\"
36.\" @(#)tolower.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD$
38.\"
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
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

--- 22 unchanged lines hidden (view full) ---

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.\"
36.\" @(#)tolower.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD$
38.\"
39.Dd August 21, 2004
39.Dd July 17, 2005
40.Dt TOLOWER 3
41.Os
42.Sh NAME
43.Nm tolower
44.Nd upper case to lower case letter conversion
45.Sh LIBRARY
46.Lb libc
47.Sh SYNOPSIS
48.In ctype.h
49.Ft int
50.Fn tolower "int c"
51.Sh DESCRIPTION
52The
53.Fn tolower
54function converts an upper-case letter to the corresponding lower-case
55letter.
40.Dt TOLOWER 3
41.Os
42.Sh NAME
43.Nm tolower
44.Nd upper case to lower case letter conversion
45.Sh LIBRARY
46.Lb libc
47.Sh SYNOPSIS
48.In ctype.h
49.Ft int
50.Fn tolower "int c"
51.Sh DESCRIPTION
52The
53.Fn tolower
54function converts an upper-case letter to the corresponding lower-case
55letter.
56For single C
57.Va char Ns s
58locales (see
59.Xr multibyte 3 )
60the value of the argument is
61representable as an
62.Li unsigned char
56The argument must be representable as an
57.Vt unsigned char
63or the value of
64.Dv EOF .
65.Sh RETURN VALUES
66If the argument is an upper-case letter, the
67.Fn tolower
68function returns the corresponding lower-case letter if there is
69one; otherwise the argument is returned unchanged.
70.Sh COMPATIBILITY

--- 4 unchanged lines hidden (view full) ---

75type in locales with large character sets is considered obsolete
76and may not be supported in future releases.
77The
78.Fn towlower
79function should be used instead.
80.Sh SEE ALSO
81.Xr ctype 3 ,
82.Xr islower 3 ,
58or the value of
59.Dv EOF .
60.Sh RETURN VALUES
61If the argument is an upper-case letter, the
62.Fn tolower
63function returns the corresponding lower-case letter if there is
64one; otherwise the argument is returned unchanged.
65.Sh COMPATIBILITY

--- 4 unchanged lines hidden (view full) ---

70type in locales with large character sets is considered obsolete
71and may not be supported in future releases.
72The
73.Fn towlower
74function should be used instead.
75.Sh SEE ALSO
76.Xr ctype 3 ,
77.Xr islower 3 ,
83.Xr multibyte 3 ,
84.Xr towlower 3
85.Sh STANDARDS
86The
87.Fn tolower
88function conforms to
89.St -isoC .
78.Xr towlower 3
79.Sh STANDARDS
80The
81.Fn tolower
82function conforms to
83.St -isoC .