make/test_memrchr.c

Mon, 24 Nov 2025 22:39:18 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 24 Nov 2025 22:39:18 +0100
changeset 1512
0dc866c7863b
parent 1413
c5a225d7228c
permissions
-rw-r--r--

add the note to the docstrings that tree iterator/visitor counter include the currently visited node

#include <string.h>

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

mercurial