implement memrchr (nonstandard) and optimize strrchr in terms of it
[musl] / crt / crtn.c