*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> toupper (3)              
Title
Content
Arch
Section
 

TOUPPER(3)

Contents


NAME    [Toc]    [Back]

     toupper -- lower case to upper case letter conversion

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <ctype.h>

     int
     toupper(int c);

DESCRIPTION    [Toc]    [Back]

     The toupper() function converts a lower-case letter to the corresponding
     upper-case letter.  For single C chars locales (see multibyte(3)) the
     value of the argument is representable as an unsigned char or the value
     of EOF.

RETURN VALUES    [Toc]    [Back]

     If the argument is a lower-case letter, the toupper() function returns
     the corresponding upper-case letter if there is one; otherwise the argument
 is returned unchanged.

COMPATIBILITY    [Toc]    [Back]

     Although toupper() accepts arguments outside of the range of the unsigned
     char type in locales with large character sets, this is a 4.4BSD extension
 and the towupper() function should be used instead for maximum
     portability.

SEE ALSO    [Toc]    [Back]

      
      
     ctype(3), isupper(3), multibyte(3), towupper(3)

STANDARDS    [Toc]    [Back]

     The toupper() function conforms to ISO/IEC 9899:1990 (``ISO C89'').


FreeBSD 5.2.1			October 3, 2002 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
towlower FreeBSD upper case to lower case letter conversion (wide character version)
towupper FreeBSD lower case to upper case letter conversion (wide character version)
tolower NetBSD upper case to lower case letter conversion
tolower FreeBSD upper case to lower case letter conversion
_tolower OpenBSD upper case to lower case letter conversion
tolower OpenBSD upper case to lower case letter conversion
toupper Linux convert letter to upper or lower case
towupper NetBSD wide character case letter conversion utilities
towlower NetBSD wide character case letter conversion utilities
islower OpenBSD lower-case character test
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service