str_chr - find character in ASCIIZ string

NAME  SYNTAX  DESCRIPTION  SEE ALSO 

NAME

str_chr − find character in ASCIIZ string

SYNTAX

#include <libowfat/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)


Updated 2024-01-29 - jenkler.se | uex.se