make/test_memrchr.c

Wed, 05 Nov 2025 19:40:06 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 05 Nov 2025 19:40:06 +0100
changeset 1471
2309b553c604
parent 1413
c5a225d7228c
permissions
-rw-r--r--

install shared libs with a new install-lib script, with variants for normal unix and macos - fixes #752 broken macos dylib support

#include <string.h>

int main() {
    const char *r = memrchr("tester", 'e', 6);
    return !(r != NULL);
}

mercurial