aboutsummaryrefslogtreecommitdiffhomepage
path: root/std.h
diff options
context:
space:
mode:
Diffstat (limited to 'std.h')
-rw-r--r--std.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/std.h b/std.h
index 7f6d663..c1dcd66 100644
--- a/std.h
+++ b/std.h
@@ -19,8 +19,8 @@ int isalnum(int);
int isalpha(int);
int isdigit(int);
int isspace(int);
-void* memcpy(void*, void*, size_t);
-void* memmove(void*, void*, size_t);
+void* memcpy(void*, const void*, size_t);
+void* memmove(void*, const void*, size_t);
void* memset(void*, int, size_t);
int printf(const char*, ...);
void* realloc(void*, size_t);
@@ -28,6 +28,7 @@ int sprintf(char*, const char*, ...);
int strcmp(const char*, const char*);
size_t strlen(const char*);
int strncmp(const char*, const char*, size_t);
+char* strndup(const char*, size_t);
char* strstr(const char*, const char*);
#include <stdarg.h>