logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

_toupper — transliterate lowercase characters to uppercase

Application Usage

       Applications should use the toupper() function instead of the obsolescent _toupper() function.

Description

       The  _toupper()  macro shall be equivalent to toupper() except that the application shall ensure that the
       argument c is a lowercase letter.

Errors

       No errors are defined.

       Thefollowingsectionsareinformative.

Examples

       None.

Future Directions

       The _toupper() function may be removed in a future version.

Name

       _toupper — transliterate lowercase characters to uppercase

Prolog

       This  manual  page  is part of the POSIX Programmer's Manual.  The Linux implementation of this interface
       may differ (consult the corresponding Linux manual page for details of Linux behavior), or the  interface
       may not be implemented on Linux.

Rationale

       None.

Return Value

       Upon successful completion, _toupper() shall return the uppercase letter corresponding  to  the  argument
       passed.

See Also

islower(), toupper()

       The Base Definitions volume of POSIX.1‐2017, Chapter7, Locale, <ctype.h>

Synopsis

       #include <ctype.h>

       int _toupper(int c);

See Also