3 <<index>>---search for character in string
10 char * index(const char *<[string]>, int <[c]>);
14 char * index(<[string]>, <[c]>);
19 This function finds the first occurence of <[c]> (converted to
20 a char) in the string pointed to by <[string]> (including the
21 terminating null character).
23 This function is identical to <<strchr>>.
26 Returns a pointer to the located character, or a null pointer
27 if <[c]> does not occur in <[string]>.
30 <<index>> requires no supporting OS subroutines.
39 _DEFUN (index
, (s
, c
),