sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 3e7c5498622e0b5e961b097b090adb9f08a43421
parent e01469c9a2e404ecb19d4d0de77875bed9bfb8eb
Author: FRIGN <dev@frign.de>
Date:   Sun Feb  8 22:08:14 +0100

Refactor sync(1) code and manpage

and mark it as finished in README.

Diffstat:
README | 2+-
sync.1 | 4++--
sync.c | 2--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/README b/README @@ -63,7 +63,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support, =* split yes none = sponge non-posix none strings no -a, -n, -t -= sync non-posix none +=* sync non-posix none = tail no -c, -f = tar non-posix none =* tee yes none diff --git a/sync.1 b/sync.1 @@ -1,4 +1,4 @@ -.Dd January 30, 2015 +.Dd February 8, 2015 .Dt SYNC 1 .Os sbase .Sh NAME @@ -10,7 +10,7 @@ .Nm invokes .Xr sync 2 -to flush all unwritten changes to the disk. This is +to flush all unwritten changes to disk. This is usually done before shutting down, rebooting or halting. .Sh SEE ALSO .Xr fsync 2 , diff --git a/sync.c b/sync.c @@ -1,6 +1,4 @@ /* See LICENSE file for copyright and license details. */ -#include <stdio.h> -#include <stdlib.h> #include <unistd.h> #include "util.h"