Add syncfs(2).
GMM calls this system call directly at the moment. That's silly.
Bug: http://b/36405699
Test: ran tests
Change-Id: I1e14c0e5ce0bc2aa888d884845ac30dc20f13cd5
diff --git a/libc/include/unistd.h b/libc/include/unistd.h
index ff77421..a05fa54 100644
--- a/libc/include/unistd.h
+++ b/libc/include/unistd.h
@@ -152,6 +152,9 @@
char* getcwd(char* __buf, size_t __size) __overloadable __RENAME_CLANG(getcwd);
void sync(void);
+#if defined(__USE_GNU)
+int syncfs(int __fd) __INTRODUCED_IN_FUTURE;
+#endif
int close(int __fd);