Zilog Z80380 Manual do Utilizador Página 78

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 77
Library Functions Run Time Environment
4–14 UM004001-COR1103
strchr FUNCTION
Header file statement: #include <string.h>
Syntax: char *strchr (const char *string, int c);
The strchr function returns a pointer to the first occurrence of c (converted to char) in string.
The converted character c may be the null character (‘\0’); the terminating null character of
string is included in the search. The function returns NULL if the character is not found.
The strchr function operates on null-terminated strings. The string arguments to these func-
tions are expected to contain a null character (‘\0’) marking the end of the string.
Return Value
The return values for this function are described above.
Parameter Description
string
Source string
c Character to be located
Vista de página 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 115 116

Comentários a estes Manuais

Sem comentários