HelenOS sources

memchr             62 common/include/mem.h #define memchr(s, c, cnt)  __builtin_memchr((s), (c), (cnt))
memchr             47 common/stdc/mem.c #undef memchr
memchr            282 common/stdc/mem.c void *memchr(const void *s, int c, size_t n)
memchr             62 kernel/generic/common/include/mem.h #define memchr(s, c, cnt)  __builtin_memchr((s), (c), (cnt))
memchr             47 kernel/generic/common/stdc/mem.c #undef memchr
memchr            282 kernel/generic/common/stdc/mem.c void *memchr(const void *s, int c, size_t n)
memchr             62 uspace/lib/c/common/include/mem.h #define memchr(s, c, cnt)  __builtin_memchr((s), (c), (cnt))
memchr             47 uspace/lib/c/common/stdc/mem.c #undef memchr
memchr            282 uspace/lib/c/common/stdc/mem.c void *memchr(const void *s, int c, size_t n)
memchr             62 uspace/lib/posix/include/common/mem.h #define memchr(s, c, cnt)  __builtin_memchr((s), (c), (cnt))
HelenOS homepage, sources at GitHub