]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - include/c/std/string.h
Random stuff.
[polintos/scott/priv.git] / include / c / std / string.h
index 55261598682edaab7723d28170600185347d8657..e50633c277fee3121c1b1dc309cdda54070a3818 100644 (file)
@@ -10,7 +10,7 @@ extern "C" {
        void *memcpy(void *dest, const void *src, size_t len);
        void *memmove(void *dest, const void *src, size_t len);
        int memcmp(const void *b1, const void *b2, size_t len);
-       void *memset(void *block, int count, size_t len);
+       void *memset(void *block, int c, size_t len);
        size_t strnlen(const char *s, size_t n);
        size_t strlen(const char *s);
        char *strcpy(char *dest, const char *src);
@@ -18,7 +18,7 @@ extern "C" {
        char *strcat(char *dest, const char *src);
        char *strncat(char *dest, const char *src, size_t len);
        int strcmp(const char *s1, const char *s2);
-       int strncmp(const char *s1, const char *s2, int n);
+       int strncmp(const char *s1, const char *s2, size_t n);
 
 #ifdef __cplusplus
        char *strchr(char *s, int c);