mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +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
|
@ -355,6 +355,14 @@ FILE* fopen(const char* pathname, const char* mode)
|
|||
return make_FILE(fd);
|
||||
}
|
||||
|
||||
FILE* freopen(const char* pathname, const char* mode, FILE* stream)
|
||||
{
|
||||
(void)pathname;
|
||||
(void)mode;
|
||||
(void)stream;
|
||||
assert(false);
|
||||
}
|
||||
|
||||
FILE* fdopen(int fd, const char* mode)
|
||||
{
|
||||
assert(!strcmp(mode, "r") || !strcmp(mode, "rb"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue