This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 8/9] Phoenix-RTOS: Add dummy implementation of fdatasync() syscall.
- From: Jakub Sejdak <jakub dot sejdak at phoesys dot com>
- To: newlib at sourceware dot org
- Cc: Kuba Sejdak <jakub dot sejdak at phoesys dot com>
- Date: Fri, 24 Jun 2016 14:14:54 +0200
- Subject: [PATCH 8/9] Phoenix-RTOS: Add dummy implementation of fdatasync() syscall.
- Authentication-results: sourceware.org; auth=none
- References: <1466770495-3213-1-git-send-email-jakub dot sejdak at phoesys dot com>
From: Kuba Sejdak <jakub.sejdak@phoesys.com>
---
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);
+}
--
2.7.4