logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

str_chr - find character in ASCIIZ string

Description

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

Name

       str_chr - find character in ASCIIZ string

See Also

strchr(3)

                                                                                                      str_chr(3)

Syntax

#include<libowfat/str.h>

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

See Also