Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
306 B

21 years ago
.TH str_chr 3
.SH NAME
str_chr \- find character in ASCIIZ string
.SH SYNTAX
.B #include <libowfat/str.h>
21 years ago
size_t \fBstr_chr\fP(const char* \fIhaystack\fR,char \fIneedle\fR);
21 years ago
.SH DESCRIPTION
str_chr returns the index of the first occurrance of \fIneedle\fR or \\0 in
\fIstring\fR.
.SH "SEE ALSO"
strchr(3)