Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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