aboutsummaryrefslogtreecommitdiff
path: root/toys/catv.c
AgeCommit message (Collapse)Author
2008-01-19Zap toys/Config.in and instead create generated/Config.in from contents ofRob Landley
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
2007-12-03Add comments about SUSv3 specs (or lack thereof).Rob Landley
2007-11-29Add sha1sum. (No -c mode yet.) Slight tweaks to loopfiles() too.Rob Landley
2007-11-29Change command main() functions to return void, and exit(toys.exitval) fromRob Landley
the toybox infrastructure instead. Eliminates a return call from each command.
2007-11-29Add loopfiles() function, make catv use it.Rob Landley
2007-11-06Replace space indent with tab indentCharlie Shepherd
2007-01-31Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.Rob Landley
2007-01-18Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, whichRob Landley
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART) Straighten out count and len (I generally consistently use "count" for the current progress and "len" for the total, but this time I got them backwards for some reason and don't want to confuse myself in future.)
2007-01-07xopen() wants 2 arguments unless you're creating a file, in which case youRob Landley
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting) so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for the third argument. That way, if we feed O_CREAT to xopen() the permission 000 result should be easy to spot.
2006-11-25Add cat -v.Rob Landley