Update libc

This commit is contained in:
Alex
2023-05-05 20:17:52 +03:00
parent f48511c6ff
commit f2abcdd15d
5 changed files with 19 additions and 16 deletions

View File

@ -26,6 +26,9 @@ extern "C"
extern FILE *stdin;
extern FILE *stdout;
extern FILE *stderr;
#define stdin stdin
#define stdout stdout
#define stderr stderr
FILE *fopen(const char *filename, const char *mode);
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);
@ -44,8 +47,8 @@ extern "C"
int fputc(int c, FILE *stream);
int putc(int c, FILE *stream);
int fputs(const char *s, FILE *stream);
int putchar(int c);
int puts(const char *s);
int putchar(int c);
#ifdef __cplusplus
}

View File

@ -25,7 +25,7 @@ extern "C"
double atof(const char *nptr);
extern void perror(const char *__s);
extern void perror(const char *s);
#ifdef __cplusplus
}