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:
parent
189b342e6f
commit
0eb788d641
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue