Don Marti
Sun 17 Apr 2005 08:33:52 PM PDT
sync57.c
If the point of crafting a tweaked-out version of sync(1) is so that you can run it 57 times really fast, why not just
int main () {
int i;
for (i=57;i;i--) sync();
return 0;
}
Overhead: 0.21 extra system calls per actual sync.