Skip to content

Commit

Permalink
string.h: add bcmp header
Browse files Browse the repository at this point in the history
The obsolete bcmp function is in the C library but the prototype was missing
  • Loading branch information
EtchedPixels committed Jul 11, 2024
1 parent 04ae218 commit 5e4f0ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Library/include/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ extern char *index(const char *__s, int __c);
extern char *rindex(const char *__s, int __c);
extern void bcopy(const void *__src, void *__dst, size_t __n);
extern void bzero(void *__dst, size_t __n);
extern int bcmp(const void *__s1, const void *__s2, size_t __n);

/* Other common string functions */
extern char *strpbrk(const char *__s, const char *__accept);
Expand Down

0 comments on commit 5e4f0ad

Please sign in to comment.