toupper(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

toupper(3c)

toupper(3C)              Standard C Library Functions              toupper(3C)

NAME
       toupper, toupper_l - transliterate lowercase characters to uppercase

SYNOPSIS
       #include <ctype.h>

       int toupper(int c);
       int toupper_l(int c, locale_t locale);

DESCRIPTION
       The  toupper()  and  toupper_l() functions have as a domain a type int,
       the value of which is representable as an unsigned char or the value of
       EOF. If the argument has any other value, the argument is returned  un‐
       changed.  The  toupper() function operates in the current locale as set
       by setlocale(3C), while toupper_l() uses the locale represented by  the
       locale argument.


       If the argument of toupper() or toupper_l() represents a lowercase let‐
       ter,  and  there  exists a corresponding uppercase letter as defined by
       character type information in the locale category LC_CTYPE, the  result
       is  the  corresponding uppercase letter. All other arguments in the do‐
       main are returned unchanged.


       The behavior is undefined if the locale argument to toupper_l() is  the
       special  locale object LC_GLOBAL_LOCALE or is not a valid locale object
       handle.

RETURN VALUES
       On successful completion, toupper() and toupper_l() return  the  upper‐
       case  letter  corresponding to the argument passed. Otherwise, they re‐
       turn the argument unchanged.

ERRORS
       No errors are defined.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE _ CSIEnabled _ Interface StabilityStandard _ MT-LevelMT-
       Safe


SEE ALSO
       tolower(3C),  _toupper(3C),   duplocale(3C),   freelocale(3C),   newlo‐
       cale(3C), setlocale(3C), uselocale(3C), attributes(7), standards(7)

Oracle Solaris 11.4               11 May 2021                      toupper(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3