libowfat/str/str_chr.3

13 lines
297 B
Groff
Raw Normal View History

2001-02-02 17:54:47 +00:00
.TH str_chr 3
.SH NAME
str_chr \- find character in ASCIIZ string
.SH SYNTAX
.B #include <str.h>
2006-11-07 17:56:05 +00:00
size_t \fBstr_chr\fP(const char* \fIhaystack\fR,char \fIneedle\fR);
2001-02-02 17:54:47 +00:00
.SH DESCRIPTION
str_chr returns the index of the first occurrance of \fIneedle\fR or \\0 in
\fIstring\fR.
.SH "SEE ALSO"
strchr(3)