1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 07:27:45 +00:00

LibC: Add stub for fsync().

This commit is contained in:
Andreas Kling 2019-05-19 19:54:20 +02:00
parent 189b342e6f
commit 0eb788d641
2 changed files with 8 additions and 0 deletions

View file

@ -480,4 +480,11 @@ void sysbeep()
syscall(SC_beep); syscall(SC_beep);
} }
int fsync(int fd)
{
UNUSED_PARAM(fd);
dbgprintf("FIXME: Implement fsync()\n");
return 0;
}
} }

View file

@ -14,6 +14,7 @@ __BEGIN_DECLS
extern char** environ; extern char** environ;
int fsync(int fd);
void sysbeep(); void sysbeep();
int systrace(pid_t); int systrace(pid_t);
int gettid(); int gettid();