This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]