minix/commands/simple/sync.c

15 lines
269 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/* sync - flush the file system buffers. Author: Andy Tanenbaum */
#include <sys/types.h>
#include <unistd.h>
_PROTOTYPE(int main, (void));
int main()
{
/* First prize in shortest useful program contest. */
/* Highest comment/code ratio */
sync();
return(0);
}