From c92305221770bb1316d026c200d569ca4e930e42 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Thu, 28 Aug 2025 16:20:17 -0400 Subject: merge libc files, new init methods for libjove --- lib/libc-headless/include/stdio.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 lib/libc-headless/include/stdio.h (limited to 'lib/libc-headless/include/stdio.h') diff --git a/lib/libc-headless/include/stdio.h b/lib/libc-headless/include/stdio.h deleted file mode 100644 index cd29004..0000000 --- a/lib/libc-headless/include/stdio.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef _STDIO_H -#define _STDIO_H 1 - -#include -#include - -#define SEEK_SET 0 -typedef struct { int unused; } FILE; - -extern FILE *stderr; -#define stderr stderr - -int fclose(FILE *file); -int fflush(FILE *file); -FILE *fopen(const char *path, const char *flags); - -size_t fread(void *buf, size_t size, size_t nmemb, FILE* file); -int fseek(FILE *file, long offset, int whence); -long ftell(FILE *file); -size_t fwrite(const void *buf, size_t size, size_t nmemb, FILE *file); -void setbuf(FILE *file, char *buf); - -int fprintf(FILE *file, const char *fmt, ...); -int vfprintf(FILE *file, const char *fmt, va_list ap); - -int sprintf(char *restrict str, const char *restrict format, ...); -int vsprintf(char *restrict str, const char *restrict format, va_list ap); - -int snprintf(char *restrict str, size_t size, const char *restrict format, ...); -int vsnprintf(char *restrict str, size_t size, const char *restrict format, va_list ap); - -#endif -- cgit v1.2.1