table of contents
other versions
- bookworm 0.32-4
- testing 0.32-4
- unstable 0.32-4
- experimental 0.32-4.1~exp1
str_chr(3) | Library Functions Manual | str_chr(3) |
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)