summaryrefslogtreecommitdiff
path: root/coreutils/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/sync.c')
-rw-r--r--coreutils/sync.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/coreutils/sync.c b/coreutils/sync.c
new file mode 100644
index 0000000..6fa5b38
--- /dev/null
+++ b/coreutils/sync.c
@@ -0,0 +1,11 @@
+#include "internal.h"
+
+const char sync_usage[] = "sync\n"
+"\n"
+"\tWrite all buffered filesystem blocks to disk.\n";
+
+extern int
+sync_main(struct FileInfo * i, int argc, char * * argv)
+{
+ return sync();
+}