make/test_memrchr.c@8bfccb342895
make/test_memrchr.c
Sat, 11 Oct 2025 11:55:46 +0200
- author
- Mike Becker <universe@uap-core.de>
- date
- Sat, 11 Oct 2025 11:55:46 +0200
- changeset 1422
- 8bfccb342895
- parent 1413
-
c5a225d7228c
- permissions
- -rw-r--r--
changes the compare function wrapper for pointer lists so that it no longer invokes the actual compare function for NULL pointers
#include <string.h>
int main() {
const char *r = memrchr("tester", 'e', 6);
return !(r != NULL);
}