X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstring.h;h=795a2abcd990ac1ecd3b7592d6948b897ec9cb68;hb=1ad8138819ced49851e618c9c063aa0ffc86718c;hp=c2f8eb558c502a5b36b6dd896c89c4a6b2f4b67e;hpb=769fd4ce202225ba1f2621bbefb803ee9a268ebf;p=musl diff --git a/include/string.h b/include/string.h index c2f8eb55..795a2abc 100644 --- a/include/string.h +++ b/include/string.h @@ -7,9 +7,8 @@ extern "C" { #include -#undef NULL #ifdef __cplusplus -#define NULL 0 +#define NULL 0L #else #define NULL ((void*)0) #endif @@ -83,13 +82,12 @@ void *memccpy (void *__restrict, const void *__restrict, int, size_t); char *strsep(char **, const char *); size_t strlcat (char *, const char *, size_t); size_t strlcpy (char *, const char *, size_t); +void explicit_bzero (void *, size_t); #endif #ifdef _GNU_SOURCE #define strdupa(x) strcpy(alloca(strlen(x)+1),x) int strverscmp (const char *, const char *); -int strcasecmp_l (const char *, const char *, locale_t); -int strncasecmp_l (const char *, const char *, size_t, locale_t); char *strchrnul(const char *, int); char *strcasestr(const char *, const char *); void *memmem(const void *, size_t, const void *, size_t);