aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/std.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-23 17:41:23 +0900
committernsfisis <nsfisis@gmail.com>2025-08-23 17:41:23 +0900
commit8646e6f693fd935c6cb81e776a6c92a3fd093a33 (patch)
tree450b60115282243bf0567b495e9e85f0d56abba1 /src/std.h
parentd83647f390d2910547ada2854eee6189e8552cb8 (diff)
downloadducc-8646e6f693fd935c6cb81e776a6c92a3fd093a33.tar.gz
ducc-8646e6f693fd935c6cb81e776a6c92a3fd093a33.tar.zst
ducc-8646e6f693fd935c6cb81e776a6c92a3fd093a33.zip
feat: output executable using gcc
Diffstat (limited to 'src/std.h')
-rw-r--r--src/std.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/std.h b/src/std.h
index c1dcd66..f5dc3ba 100644
--- a/src/std.h
+++ b/src/std.h
@@ -22,14 +22,16 @@ int isspace(int);
void* memcpy(void*, const void*, size_t);
void* memmove(void*, const void*, size_t);
void* memset(void*, int, size_t);
-int printf(const char*, ...);
+int mkstemps(char*, int);
void* realloc(void*, size_t);
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* strdup(const char*);
char* strndup(const char*, size_t);
char* strstr(const char*, const char*);
+int system(const char*);
#include <stdarg.h>