summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuba Sejdak <jakub.sejdak@phoesys.com>2016-06-24 14:14:54 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-06-27 13:23:35 +0200
commit6325dbb30f4d8ee03ada1ec2eb55cbb577cc34cb (patch)
tree84c3b6f808a28905a3501103787ea5a5be07fc01
parent3302072436f3b06a2d85f26d22c6c4727bc1d9b3 (diff)
downloadcygnal-6325dbb30f4d8ee03ada1ec2eb55cbb577cc34cb.tar.gz
cygnal-6325dbb30f4d8ee03ada1ec2eb55cbb577cc34cb.tar.bz2
cygnal-6325dbb30f4d8ee03ada1ec2eb55cbb577cc34cb.zip
Phoenix-RTOS: Add dummy implementation of fdatasync() syscall.
-rw-r--r--newlib/libc/sys/phoenix/sync.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/sys/phoenix/sync.c b/newlib/libc/sys/phoenix/sync.c
index de478c91d..6f726408d 100644
--- a/newlib/libc/sys/phoenix/sync.c
+++ b/newlib/libc/sys/phoenix/sync.c
@@ -43,3 +43,8 @@ int fsync(int fd)
return ret;
}
+
+int fdatasync(int fd)
+{
+ return fsync(fd);
+}