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

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