Skip to content

Commit 197ac23

Browse files
committed
Add memcmp to lib/c.h
1 parent 6357fde commit 197ac23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/c.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ int strncmp(char *s1, char *s2, int len);
2929
char *strcpy(char *dest, char *src);
3030
char *strncpy(char *dest, char *src, int len);
3131
char *memcpy(char *dest, char *src, int count);
32+
int memcmp(void *s1, void *s2, int n);
3233
void *memset(void *s, int c, int n);
3334

3435
/* formatted output string */

0 commit comments

Comments
 (0)