busybox/coreutils/sync.c
1999-10-18 20:41:33 +00:00

14 lines
242 B
C

#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();
}