Zilog Z80380 Manual do Utilizador Página 88

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 87
Library Functions Run Time Environment
4–24 UM004001-COR1103
tolower, toupper FUNCTIONS
Header file statement: #include <ctype.h>
Syntax: int tolower( int c );
int toupper( int c );
The tolower and toupper routines macros convert a single character, as described below:
Function MacroDescription
tolower tolower Converts c to lowercase if appropriate
toupper toupper Converts c to uppercase if appropriate
The tolower routine converts c to lowercase if c represents an uppercase letter. Otherwise, c
is unchanged.
The toupper routine converts c to uppercase if c represents an lowercase letter. Otherwise,
c is unchanged.
Return Value
The tolower and toupper routines return the converted character c. There is no error returned.
Parameter Description
c
Character to be converted
Vista de página 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 115 116

Comentários a estes Manuais

Sem comentários