1 2 3 4 5
#include <mem.h> static char const buf[] = "test"; int main(void) { return calt_memrchr(buf, 't', sizeof buf) == &buf[3] ? 0 : 1; }