Syntax
#include <string.h>
char *strchr(const char *string, int c)
Arguments
string pointer to the character string to be searched
c character code to be found
Return Value
A pointer to the first occurrence of the character specified by c (using its
integer code) in the string specified by string, or it returns NULL if c is not
found in string
Description
Finds the first occurrence of a character (specified by its integer code in the c argument) within a character string specified by the string argument, and then either returns a pointer to that character in the string or a NULL if the character is not found.
Revision History
6/1/99 Since this function already existed in the N64 OS, changed strchr in nustd library to _nstrchr