Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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