aboutsummaryrefslogtreecommitdiff
path: root/sync.c
blob: 8800f2e762bbb6b093c84832e1cc5a974826f915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "internal.h"
#include <stdio.h>

extern int
sync_main(int argc, char * * argv)
{
    if ( **(argv+1) == '-' ) {
	usage( "sync\nWrite all buffered filesystem blocks to disk.\n");
    }
    return sync();
}