summaryrefslogtreecommitdiffstats
path: root/historic/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'historic/sync.c')
-rw-r--r--historic/sync.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/historic/sync.c b/historic/sync.c
new file mode 100644
index 000000000..76e0b6225
--- /dev/null
+++ b/historic/sync.c
@@ -0,0 +1,14 @@
+/*
+ * sync.c - flush Linux filesystem buffers
+ *
+ * Copyright 1992 Linus Torvalds.
+ * This file may be redistributed as per the GNU copyright.
+ */
+
+#include <unistd.h>
+#include <stdlib.h>
+
+int main(int argc, char **argv) {
+ sync();
+ return 0;
+}