mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
LibC: A bunch of compat work towards porting GCC.
This commit is contained in:
parent
9fd4f4862b
commit
93c0dfd1d7
18 changed files with 166 additions and 13 deletions
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#define _STDIO_H // Make GMP believe we exist.
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -36,6 +38,7 @@ extern FILE* stdout;
|
|||
extern FILE* stderr;
|
||||
|
||||
char* fgets(char* buffer, int size, FILE*);
|
||||
int fputc(int ch, FILE*);
|
||||
int fileno(FILE*);
|
||||
int fgetc(FILE*);
|
||||
int getc(FILE*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue