]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/string/memrchr.c
3 void *__memrchr(const void *m
, int c
, size_t n
)
5 const unsigned char *s
= m
;
7 while (n
--) if (s
[n
]==c
) return (void *)(s
+n
);
11 weak_alias(__memrchr
, memrchr
);