source:
trunk/minix/commands/simple/sync.c@
20
Last change on this file since 20 was 9, checked in by , 14 years ago | |
---|---|
File size: 269 bytes |
Line | |
---|---|
1 | /* sync - flush the file system buffers. Author: Andy Tanenbaum */ |
2 | |
3 | #include <sys/types.h> |
4 | #include <unistd.h> |
5 | |
6 | _PROTOTYPE(int main, (void)); |
7 | |
8 | int main() |
9 | { |
10 | /* First prize in shortest useful program contest. */ |
11 | /* Highest comment/code ratio */ |
12 | sync(); |
13 | return(0); |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.