Zilog Z80380 Bedienungsanleitung Seite 78

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare