aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
AgeCommit message (Expand)Author
2020-01-03Add MAYFORK to "help", teach it to behave differently when called as aRob Landley
2019-12-12Next round of toysh work, with associated lib plumbing.Rob Landley
2019-11-23Fix dev_minor()/dev_major()/dev_makedev() for Mac.Elliott Hughes
2019-10-26Add ln -r and relative_path() to lib, plus test.Rob Landley
2019-10-21Remove getdirname(), it's _not_ a drop-in replacement for dirnameRob Landley
2019-08-26xargs: add --max-args synonym, -o option, and fix -p.Elliott Hughes
2019-08-21Add xgetline (which the last sh checkin used, oops).Rob Landley
2019-07-12pidof: fix default behavior, add -x.Elliott Hughes
2019-07-11bind/connect cleanup.Elliott Hughes
2019-07-10dd: iflags, oflags, fix ^C, fix the fundamental loop.Elliott Hughes
2019-07-10Add dlist_lpop() to remove last entry (use dlist as stack).Rob Landley
2019-06-11Add DIRTREE_STATLESS to return entries we couldn't stat().Rob Landley
2019-06-11Move sig_to_num and num_to_sig into portability.c.Elliott Hughes
2019-06-10Improve signal name<->number conversions.Elliott Hughes
2019-06-01Teach file to recognize xz archives and old style tarballs.Rob Landley
2019-05-16Add human_readable_long() for more than 3 digits of output.Rob Landley
2019-05-11Teach tar to extract type 'S' sparse file headers.Rob Landley
2019-04-20Add xunsetenv() for the error checking.Rob Landley
2019-04-20New xsetenv() plumbing (repeatedly set same environment variables withoutRob Landley
2019-04-16Add argument to xflush() so it can test for stdout err without flushing.Rob Landley
2019-04-11scan_key: support more terminals.Elliott Hughes
2019-03-27Change fileunderdir() to return abspath to file.Rob Landley
2019-03-26Make touch use xparsedate() (result: -t and -d the same, autodetects format),Rob Landley
2019-03-24Factor out xparsedate() and xvali_date() into lib.Rob Landley
2019-03-10Make multiple sendfile variants, and teach xpopen_both() to use existingRob Landley
2019-03-09Half-finished su change checked in, sorry.Rob Landley
2019-03-07Add reset_env() and make su and login use it. Do long-delayed login cleanup.Rob Landley
2019-02-23Bumper typo cleanup.Elliott Hughes
2019-02-13Move nanomove(), nanodiff(), union socksaddr, and xrecvwait() to lib.Rob Landley
2019-01-22Fix sigjmp_buf/jmp_buf mismatches.Elliott Hughes
2019-01-16Move xsendto() to lib/net.c.Rob Landley
2019-01-12sed: add -z.Elliott Hughes
2019-01-12Merge xconnect/xbind.Rob Landley
2018-12-27Make poke() alignment-agnostic.Rob Landley
2018-12-23Add grep --colorRob Landley
2018-12-14Add xrename()Rob Landley
2018-12-10nc: add IPv6 support.Josh Gao
2018-11-28macOS: replace local strnstr with strcasestr.Elliott Hughes
2018-11-28macOS: noreturn.Elliott Hughes
2018-10-21Add % to lib/args.c (long time in milliseconds), add xmillitime(), redoRob Landley
2018-10-21Move start_redraw() to lib/ and have ps.c (top) use it.Rob Landley
2018-10-10Add xsignal_flags() and more consistently use xsignal() instead of signal().Rob Landley
2018-08-17Make microcom use set_terminal() and move speed setting into set_terminal().Rob Landley
2018-08-07Forgot to check in the deflate header change, and pending shouldn't default y.Rob Landley
2018-07-04diff: add timestamps to the ---/+++ lines and --color.Elliott Hughes
2018-04-08Add cp --parentsRob Landley
2018-04-08Add mkpath() for common case of mkpathat(), and #define magic constants.Rob Landley
2018-04-03Factor out xtempfile()Rob Landley
2018-03-31Remove semicolon from WOULD_EXIT() macro (screws up if statement levels).Rob Landley
2018-03-10Split "comma separated values" parsing from mntent.h plumbing.Rob Landley