toupper.3 (dab055db89eaf7d442acc29140d64292169b45a8) | toupper.3 (9981ef2702b1f3f392f1059ce4c97314db3afdff) |
---|---|
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.\" @(#)toupper.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.\" @(#)toupper.3 8.1 (Berkeley) 6/4/93 37.\" $FreeBSD$ 38.\" |
39.Dd June 4, 1993 | 39.Dd October 3, 2002 |
40.Dt TOUPPER 3 41.Os 42.Sh NAME 43.Nm toupper 44.Nd lower case to upper case letter conversion 45.Sh LIBRARY 46.Lb libc 47.Sh SYNOPSIS --- 14 unchanged lines hidden (view full) --- 62.Li unsigned char 63or the value of 64.Dv EOF . 65.Sh RETURN VALUES 66If the argument is a lower-case letter, the 67.Fn toupper 68function returns the corresponding upper-case letter if there is 69one; otherwise the argument is returned unchanged. | 40.Dt TOUPPER 3 41.Os 42.Sh NAME 43.Nm toupper 44.Nd lower case to upper case letter conversion 45.Sh LIBRARY 46.Lb libc 47.Sh SYNOPSIS --- 14 unchanged lines hidden (view full) --- 62.Li unsigned char 63or the value of 64.Dv EOF . 65.Sh RETURN VALUES 66If the argument is a lower-case letter, the 67.Fn toupper 68function returns the corresponding upper-case letter if there is 69one; otherwise the argument is returned unchanged. |
70.Sh COMPATIBILITY 71Although 72.Fn toupper 73accepts arguments outside of the range of the 74.Vt "unsigned char" 75type in locales with large character sets, 76this is a 77.Bx 4.4 78extension and the 79.Fn towupper 80function should be used instead for maximum portability. |
|
70.Sh SEE ALSO 71.Xr ctype 3 , 72.Xr isupper 3 , | 81.Sh SEE ALSO 82.Xr ctype 3 , 83.Xr isupper 3 , |
73.Xr multibyte 3 | 84.Xr multibyte 3 , 85.Xr towupper 3 |
74.Sh STANDARDS 75The 76.Fn toupper 77function conforms to 78.St -isoC . | 86.Sh STANDARDS 87The 88.Fn toupper 89function conforms to 90.St -isoC . |