Ubuntu Manpages

str_chr

find character in ASCIIZ string

#include <str.h>

size_t str_chr(const char* haystack,char needle);

str_chr returns the index of the first occurrance of needle or \0 in string.

strchr(3)