summaryrefslogtreecommitdiff
path: root/LibC
diff options
context:
space:
mode:
Diffstat (limited to 'LibC')
-rw-r--r--LibC/unistd.cpp7
-rw-r--r--LibC/unistd.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/LibC/unistd.cpp b/LibC/unistd.cpp
index a31600c97b..22a4204b8f 100644
--- a/LibC/unistd.cpp
+++ b/LibC/unistd.cpp
@@ -480,4 +480,11 @@ void sysbeep()
syscall(SC_beep);
}
+int fsync(int fd)
+{
+ UNUSED_PARAM(fd);
+ dbgprintf("FIXME: Implement fsync()\n");
+ return 0;
+}
+
}
diff --git a/LibC/unistd.h b/LibC/unistd.h
index c8cfa50086..a9cacca3a4 100644
--- a/LibC/unistd.h
+++ b/LibC/unistd.h
@@ -14,6 +14,7 @@ __BEGIN_DECLS
extern char** environ;
+int fsync(int fd);
void sysbeep();
int systrace(pid_t);
int gettid();