aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
AgeCommit message (Expand)Author
2015-10-27Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF)Rob Landley
2015-10-25Add xcount_cpus()Rob Landley
2015-09-29Make defconfig build for nommu.Rob Landley
2015-09-27Another chunk of nommu support, replacing toys.recursion with toys.stacktop.Rob Landley
2015-09-23Add xvfork() as a static inline and use it from various places.Rob Landley
2015-09-11Replace toys.exithelp with help_exit() in lib.Rob Landley
2015-09-06Switch HR_SI to HR_1000, make binary the default, make HR_B only affect bytes,Rob Landley
2015-09-03Make human_readable() handle base 1024 units without floating point.Rob Landley
2015-08-08Different tools have different ideas about what human-readable outputElliott Hughes
2015-08-05Tweak xconnect: socket can be a string (ala "ftp") from /etc/services.Rob Landley
2015-08-03Factor out xconnect(), plus some other small cleanups to telnet.c.Rob Landley
2015-08-01Move strlower() from find to lib.Rob Landley
2015-07-10Add a basename_r() and use it in names_to_pid() to avoid basename() overwritingRob Landley
2015-06-26Factor out more not-curses infrastructure into lib.Rob Landley
2015-05-14Promote reset (actually write a new one using the simple man 4 console_codesRob Landley
2015-05-09Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out fromRob Landley
2015-05-08Move not-curses code into interstingtimes.cRob Landley
2015-04-30And remove the header part too.Rob Landley
2015-04-27Some infrastructure hexedit needs. (Poor man's curses.)Rob Landley
2015-04-19Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 brokeRob Landley
2015-04-03Add readfileat() to libRob Landley
2015-03-12Factor out xgetgrnamid() and xgetpwnamid() into xwrap.c.Rob Landley
2015-03-09Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and s...Rob Landley
2015-03-01let the compiler check format stringsElliott Hughes
2015-02-09Cleanup/refactoring pass on hwclock.Rob Landley
2015-02-07Remove xexec_optargs().Rob Landley
2015-01-01strtol() doesn't return error indicator for overflow, it just sets errno. So ...Rob Landley
2014-12-13Forgot to check in a header file for base64.Rob Landley
2014-12-04Work with buildroot's extensively patched uClibc, and for nommu support move ...Rob Landley
2014-12-04Implement xstrncat() and fix xstrndup().Rob Landley
2014-10-18Factor out printf-style escape parsing logic from echo.c.Rob Landley
2014-09-14Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ...Rob Landley
2014-08-24Work in progress snapshot of mount, with fallout to umount. (Not done yet.)Rob Landley
2014-08-03Implement exec -user, -group, and -newer. Enable find in defconfig.Rob Landley
2014-08-02Yank xrealpath prototype since the function's gone.Rob Landley
2014-07-26Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ope...Rob Landley
2014-07-21Little endian and big endian versions of peek (for host.c).Rob Landley
2014-06-25Cleanup pass on mkpasswd.cRob Landley
2014-06-09Forgot to check in strstart().Rob Landley
2014-06-03mount: start on option parsing, implement loopback and bind mount autodetection.Rob Landley
2014-05-31Introduce xfork() and make commands use it, and make some WEXITSTATUS() use W...Rob Landley
2014-05-29Switch mtab_list to doubly linked so we can traverse in either order. Convert...Rob Landley
2014-05-27Add mount options to data getmountlist collects.Rob Landley
2014-05-21Add generic_signal() handler, which sets toys.signal and writes byte to toys....Rob Landley
2014-05-21Add free functions for predefined llist types.Rob Landley
2014-05-06Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make d...Rob Landley
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, n...Rob Landley
2014-03-11Move mkpathat to lib, remove redundant function used by patch.Rob Landley
2014-02-07Move bunzip2 logic from lib into bzcat.Rob Landley
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley