libc: add dummies for fsync and fdatasync
authorAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2016 21:48:40 +0000 (22:48 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 22 Sep 2016 21:48:40 +0000 (22:48 +0100)
commit9a21c471cfdea8d9a2dcc93aa582035fe66e2bbe
tree608125fb24cf41547db1788ebadf209b635733c3
parent0ad84618aca612fafdaa2e1e12c1449970a2217d
libc: add dummies for fsync and fdatasync

We don't need syscalls for these on smaller boxes (and it's surprisingly hard
to get right) so just wrap sync. That way a future bigger box that does need
fsync/fdatasync can be done properly.
Library/include/unistd.h
Library/libs/Makefile
Library/libs/Makefile.6809
Library/libs/fdatasync.c [new file with mode: 0644]
Library/libs/fsync.c [new file with mode: 0644]