mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
LibC: Stub out fmemopen()
This commit is contained in:
parent
aaa52da97d
commit
18f68d1aea
2 changed files with 8 additions and 0 deletions
|
@ -1067,6 +1067,13 @@ FILE* fdopen(int fd, const char* mode)
|
|||
return FILE::create(fd, flags);
|
||||
}
|
||||
|
||||
// https://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html
|
||||
FILE* fmemopen(void*, size_t, const char*)
|
||||
{
|
||||
// FIXME: Implement me :^)
|
||||
TODO();
|
||||
}
|
||||
|
||||
static inline bool is_default_stream(FILE* stream)
|
||||
{
|
||||
return stream == stdin || stream == stdout || stream == stderr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue