klib: add memchr

This commit is contained in:
xinyangli 2024-12-16 11:42:14 +08:00
parent fe34be982d
commit 14fd0faefd
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
2 changed files with 28 additions and 0 deletions

View file

@ -24,6 +24,7 @@ char *strcpy(char *dst, const char *src);
char *strncpy(char *dst, const char *src, size_t n);
int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t n);
void *memchr(const void *src, int c, size_t n);
//stdlib.h