aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
AgeCommit message (Expand)Author
2012-02-27Upgrade yesno() and make cp -i use it.Rob Landley
2012-02-26Factor out common code between killall/kill and move it to lib/lib.c, plus cl...Rob Landley
2012-02-18Nathan McSween convinced me compilers that inline memset() can optimize the b...Rob Landley
2012-02-18Cleanups to pidof (including some global infrastructure shared with killall).Rob Landley
2012-02-18Add killall by Andreas Heck, and factor out common pid code to lib.h.Rob Landley
2012-02-09Make atolx() error_exit() if fed a string that doesn't convert entirely into ...Rob Landley
2012-02-02Quick and dirty terminal_size() and yesno() functions, both of which need to ...Rob Landley
2011-12-28Bugfix (spotted by Nathan McSween): xread can't detect <0 if the return type ...Rob Landley
2011-12-12Forgot to check in loopfiles_rw changes needed by truncate.Rob Landley
2011-11-13xreadall() returns void... how does that even compile?Rob Landley
2010-01-05Add TOYBOX_SUID.Rob Landley
2010-01-05Correct return types of xstrdup() and xstrndup()Rob Landley
2009-04-16Fix bug spotted by Jean-Christphe Dubois: reserve space for null terminator.Rob Landley
2009-01-25Fix thinko.Rob Landley
2009-01-18Add mkswap.Rob Landley
2009-01-05Add -N, -I, -L, and -P options to cksum.Rob Landley
2009-01-03Check in crc_init needed by cksum. (Oops.)Rob Landley
2008-07-18Tweak from Roberto Foglietta.Rob Landley
2008-07-18Roberto Foglietta pointed out that readall() needs fdlength() to restoreRob Landley
2008-07-18Bug spotted by Roberto Foglietta: at EOF readall() should return count, not len.Rob Landley
2008-07-03Add "tee" command.Rob Landley
2008-05-17Fix which (the meaning of -a was reversed, and it was finding the _last_ hit).Rob Landley
2008-05-12Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel.Rob Landley
2008-04-13Teach get_rawline() to continue until a configurable char, and xstrndup()Rob Landley
2008-01-27Add spaces after some commas (from Charlie Shepherd).Rob Landley
2008-01-25Remove extra newlines on error_pathsCharlie Shepherd
2008-01-25Fix filename in headerCharlie Shepherd
2008-01-27Teach perror_exit() to take a NULL argument when we just want "command: error".Rob Landley
2008-01-19Move NEWTOY() list from end of toylist.h to generated/newtoys.h.Rob Landley
2008-01-01Fix loopfiles to not call function() on file not found.0.0.4Rob Landley
2007-12-27Make patch's file add actually work, including directory creating andRob Landley
2007-12-20Upgrade patch to understand creating and deleting files.Rob Landley
2007-12-18Patch command.Rob Landley
2007-12-15Start of "patch" support. Writes to stdout at the moment.Rob Landley
2007-12-09Changeset 186 assumed that toys.exitval defaults to 0. Actually change theRob Landley
2007-11-29Add sha1sum. (No -c mode yet.) Slight tweaks to loopfiles() too.Rob Landley
2007-11-29Add loopfiles() function, make catv use it.Rob Landley
2007-11-19Replace strlcpy() with xstrcpy(), which exits if the string won't fit.Rob Landley
2007-11-15Remove trailing whitespace (thanks to Charlie Shepherd), and a couple commentRob Landley
2007-11-15Change strlcpy not to use strncpy. (Adds 24 bytes, but doesn't memset theRob Landley
2007-11-04Fix from Charlie Shepherd: at end of string, don't match the null terminatorRob Landley
2007-11-04xcreate(): perror already prints error name and newline, remove redundancy.Rob Landley
2007-10-11Promote help to global config option, teach error_exit() to output usage mess...Rob Landley
2007-10-04Break out dirtree.c and let it call a function instead of returning the data.Rob Landley
2007-08-15More klibc fixes from Maximilian Attems, strlcpy() this time.Rob Landley
2007-06-18Add xputs() to detect EOF on writes.Rob Landley
2007-06-15Vladimir Oleynik pointed out that va_start() twice in the same functionRob Landley
2007-06-07Work around uClibc weirdness.Rob Landley
2007-04-29Add readlink, xreadlink(), and change xrealloc() to not fight the stupidRob Landley
2007-02-16Add atolx() which understands extensions for kilobytes and megabytes and such.Rob Landley