str_chr man page

str_chr — find character in ASCIIZ string

Syntax

#include <str.h>

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

Description

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

See Also

strchr(3)

Info