make/test_memrchr.c@38d3f40a50ec
make/test_memrchr.c
Sun, 30 Nov 2025 15:50:36 +0100
- author
- Mike Becker <universe@uap-core.de>
- date
- Sun, 30 Nov 2025 15:50:36 +0100
- changeset 1534
- 38d3f40a50ec
- parent 1413
-
c5a225d7228c
- permissions
- -rw-r--r--
instead of including stdalign.h, check if the macro is defined (Solaris does not have the header)
#include <string.h>
int main() {
const char *r = memrchr("tester", 'e', 6);
return !(r != NULL);
}