Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   _toupper.3p    ( 3 )

транслитерировать строчные буквы в прописные (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.


Имя (Name)

_toupper — transliterate lowercase characters to uppercase


Синопсис (Synopsis)

#include <ctype.h>

int _toupper(int c);


Описание (Description)

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


Возвращаемое значение (Return value)

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


Ошибки (Error)

No errors are defined.

The following sections are informative.


Примеры (Examples)

None.

Использование в приложениях (Application usage)

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


Обоснование (Rationale)

None.


Будущие направления (Future directions)

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


Смотри также (See also)

islower(3p), toupper(3p)

The Base Definitions volume of POSIX.1‐2017, Chapter 7, Locale, ctype.h(0p)