Mercurial > hg > toybox
view toys/sync.c @ 186:25447caf1b4b
Change command main() functions to return void, and exit(toys.exitval) from
the toybox infrastructure instead. Eliminates a return call from each command.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 29 Nov 2007 18:14:37 -0600 |
parents | ce6956dfc0cf |
children | 30a6db5a95c2 |
line wrap: on
line source
/* vi: set sw=4 ts=4: */ /* * sync.c - Write all pending data to disk. */ #include "toys.h" void sync_main(void) { sync(); }