diff toys/sync.c @ 114:ce6956dfc0cf

Add sync and an incomplete version of mdev.
author Rob Landley <rob@landley.net>
date Mon, 23 Apr 2007 15:45:55 -0400
parents
children 25447caf1b4b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toys/sync.c	Mon Apr 23 15:45:55 2007 -0400
@@ -0,0 +1,12 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * sync.c - Write all pending data to disk.
+ */
+
+#include "toys.h"
+
+int sync_main(void)
+{
+	sync();
+	return 0;
+}