From e342992a135e68d10716d9da920cb3af62a7d750 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 4 Sep 2025 22:49:54 +0900 Subject: feat: use in ducc sources --- src/std.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/std.h') 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 -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 - -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 -- cgit v1.2.3-70-g09d2