aboutsummaryrefslogtreecommitdiff
path: root/toys/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/sync.c')
-rw-r--r--toys/sync.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/toys/sync.c b/toys/sync.c
index 4eed0f53..96c36770 100644
--- a/toys/sync.c
+++ b/toys/sync.c
@@ -1,9 +1,19 @@
-/* vi: set sw=4 ts=4: */
-/*
+/* vi: set sw=4 ts=4:
+ *
* sync.c - Write all pending data to disk.
*
+ * Copyright 2007 Rob Landley <rob@landley.net>
+ *
* Not in SUSv3.
- */
+
+config SYNC
+ bool "sync"
+ default y
+ help
+ usage: sync
+
+ Write pending cached data to disk (synchronize), blocking until done.
+*/
#include "toys.h"