aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/std.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-04 22:49:54 +0900
committernsfisis <nsfisis@gmail.com>2025-09-04 22:49:54 +0900
commite342992a135e68d10716d9da920cb3af62a7d750 (patch)
tree49a1a94a87204c672a9f57890ec9d9c23989e2f6 /src/std.h
parent17809b0571a038ec9eba3fc3620ba77a38c98afd (diff)
downloadducc-e342992a135e68d10716d9da920cb3af62a7d750.tar.gz
ducc-e342992a135e68d10716d9da920cb3af62a7d750.tar.zst
ducc-e342992a135e68d10716d9da920cb3af62a7d750.zip
feat: use <stdio.h> in ducc sources
Diffstat (limited to 'src/std.h')
-rw-r--r--src/std.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/std.h b/src/std.h
index c2d7b26..5f31191 100644
--- a/src/std.h
+++ b/src/std.h
@@ -3,19 +3,9 @@
#include <stddef.h>
-typedef struct FILE FILE;
-
-extern FILE* stdin;
-extern FILE* stdout;
-extern FILE* stderr;
-
int atoi(const char*);
void* calloc(size_t, size_t);
void exit(int);
-int fclose(FILE*);
-int fprintf(FILE*, const char*, ...);
-char* fgets(char*, int, FILE*);
-FILE* fopen(const char*, const char*);
int getchar();
int isalnum(int);
int isalpha(int);
@@ -25,9 +15,7 @@ void* memcpy(void*, const void*, size_t);
void* memmove(void*, const void*, size_t);
void* memset(void*, int, size_t);
int mkstemps(char*, int);
-int printf(const char*, ...);
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);
@@ -45,18 +33,12 @@ int system(const char*);
} \
} while (0)
-#include <stdarg.h>
-
-int vfprintf(FILE*, const char*, va_list);
-
#define F_OK 0
#define R_OK 4
int access(const char*, int);
#define PATH_MAX 4096
-typedef long ssize_t;
-ssize_t readlink(const char*, char*, size_t);
char* dirname(char*);
#endif