tolower.3 (25bb73e063c17cd9048cf60100dbc0ac5177e94a) tolower.3 (3bc7ba9057bc955b414498370079145f58c5c678)
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

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

48.Fd #include <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.
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

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

48.Fd #include <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 8-bit wide locales the value of the argument is
57representable as an unsigned char or the value of EOF.
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
63or the value of
64.Dv EOF .
58.Sh RETURN VALUES
59If the argument is an upper-case letter, the
60.Fn tolower
61function returns the corresponding lower-case letter if there is
62one; otherwise the argument is returned unchanged.
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.
63.\" In the
64.\" .Em ``C''
65.\" locale,
66.\" .Fn tolower
67.\" maps only the characters for which
68.\" .Xr isupper
69.\" is true to the corresponding characters for which
70.\" .Xr islower
71.\" is true.
72.Sh SEE ALSO
73.Xr isalnum 3 ,
74.Xr isalpha 3 ,
75.Xr isascii 3 ,
76.Xr iscntrl 3 ,
77.Xr isdigit 3 ,
78.Xr isgraph 3 ,
79.Xr islower 3 ,
80.Xr isprint 3 ,
81.Xr ispunct 3 ,
82.Xr isspace 3 ,
83.Xr isupper 3 ,
84.Xr isxdigit 3 ,
70.Sh SEE ALSO
71.Xr isalnum 3 ,
72.Xr isalpha 3 ,
73.Xr isascii 3 ,
74.Xr iscntrl 3 ,
75.Xr isdigit 3 ,
76.Xr isgraph 3 ,
77.Xr islower 3 ,
78.Xr isprint 3 ,
79.Xr ispunct 3 ,
80.Xr isspace 3 ,
81.Xr isupper 3 ,
82.Xr isxdigit 3 ,
83.Xr multibyte 3 ,
85.Xr stdio 3 ,
86.Xr toascii 3 ,
87.Xr toupper 3 ,
88.Xr ascii 7
89.Sh STANDARDS
90The
91.Fn tolower
92function conforms to
93.St -ansiC .
84.Xr stdio 3 ,
85.Xr toascii 3 ,
86.Xr toupper 3 ,
87.Xr ascii 7
88.Sh STANDARDS
89The
90.Fn tolower
91function conforms to
92.St -ansiC .