1byte_rchr(3) Library Functions Manual byte_rchr(3)
2
3
4
6 byte_rchr - search for a byte in a string
7
9 #include <byte.h>
10
11 size_t byte_rchr(const char *haystack,size_t len,char needle);
12
14 byte_chr returns the largest integer i between 0 and len-1 inclusive
15 such that one[i] equals needle.
16
17 If no such integer exists, byte_chr returns len.
18
19 byte_rchr may read all bytes one[0], one[1], ..., one[len-1], even if
20 not all the bytes are relevant to the answer.
21
22
24 byte_chr(3)
25
26
27
28 byte_rchr(3)