aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
AgeCommit message (Expand)Author
2013-08-08Achille Fouilleul pointed out that fdlength wasn't returning the right length...Rob Landley
2013-07-16Split lib/xwrap.c from lib/lib.cRob Landley
2013-07-14New stuff added to lib.c needs review too, so make a lib/pending.c and move s...Rob Landley
2013-07-12add grepStrake
2013-06-16Add xexit() and make error_exit() use it.Rob Landley
2013-06-02Stat cleanup.Rob Landley
2013-06-01Enable readfile() and add peek() and poke() functions.Rob Landley
2013-05-19xioctl() error message should use hex ioctl number; that's what headers list.Rob Landley
2013-04-29Fix xabspath when last path component exists but we haven't got permissions t...Rob Landley
2013-04-22Add library function for the file permission formatting in ls and statFelix Janda
2013-04-26Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c an...Rob Landley
2013-04-20More ifconfig cleanup.Rob Landley
2013-04-14Move guts of help command into show_help() in lib/help.c, with config TOYBOX_...Rob Landley
2013-01-31Fix -in behavior: descend into existing directory without prompting, show ful...Rob Landley
2013-01-17Fix xabspath() resolving symlink after .., and properly detecting failure for...Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out o...Rob Landley
2012-12-16Extend killall with support for -v and -iElie De Brauwer
2012-12-08Adding -s (single shot) and -o (omit pids) options to pidofElie De Brauwer
2012-12-08Make yesno() always read from stdin and write to stderr. (If we need to find ...Rob Landley
2012-11-23Add expand command as described in POSIX-2008.Jonathan Clairembault
2012-11-22Remove readlink -m for being poorly defined ("readlink -m /dev/null/and/more"...Rob Landley
2012-11-20Update readlink so -f works. Add -menq while there.Rob Landley
2012-11-16Add cut from Jason Kyungwan Han.Rob Landley
2012-11-16Add rebound support to intercept error_exit() and longjmp instead.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-10-07Fix thinko in xpidfile()Rob Landley
2012-08-26Add du command.Ashwini Kumar
2012-07-30Add signal handler to clean up tempfile.Rob Landley
2012-07-23Workaround longstanding glibc/ld bug, ala http://sources.redhat.com/bugzilla/...0.4.0Rob Landley
2012-07-21Make chmod +w respect umask, implement +s and +t, fix ls to show suid/sgid/st...Rob Landley
2012-07-15New infrastructure for od (oops).Rob Landley
2012-06-30Add NOP b (byte) suffix to atolx() since od needs it.Rob Landley
2012-06-22Minor code refactoring.Rob Landley
2012-06-09Feeding -1 to xdup() isn't an error.Rob Landley
2012-06-03Update chmod to work with new dirtree, and fix bugs in string_to_mode().Rob Landley
2012-06-01Add xrealpath() at suggestion of Ashish Briggers.Rob Landley
2012-05-16First pass at a complete rewrite of string_to_mode(). (It compiled!)Rob Landley
2012-04-14Rewrite dirtree so we don't need readdir, scandir, and fts.h. Rewrite ls (fr...Rob Landley
2012-03-20Using /dev/tty for yesno() is wrong because yes 'n' | cp -ial needs to work.Rob Landley
2012-03-19Unwind gratuitous macros.Rob Landley
2012-03-19Add string to mode_t parserDaniel Walter
2012-03-19Remove "feature test macros", replace non-portable fdprintf() with standard f...Rob Landley
2012-03-08More stabs at getting #includes right, and moving off of deprecated functions.Rob Landley
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