This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] Phoenix-RTOS: Add dummy implementation of fdatasync() syscall.
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 27 Jun 2016 11:24:43 -0000
- Subject: [newlib-cygwin] Phoenix-RTOS: Add dummy implementation of fdatasync() syscall.
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=6325dbb30f4d8ee03ada1ec2eb55cbb577cc34cb
commit 6325dbb30f4d8ee03ada1ec2eb55cbb577cc34cb
Author: Kuba Sejdak <jakub.sejdak@phoesys.com>
Date: Fri Jun 24 14:14:54 2016 +0200
Phoenix-RTOS: Add dummy implementation of fdatasync() syscall.
Diff:
---
newlib/libc/sys/phoenix/sync.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/newlib/libc/sys/phoenix/sync.c b/newlib/libc/sys/phoenix/sync.c
index de478c9..6f72640 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);
+}