aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
AgeCommit message (Expand)Author
2018-05-06Support fractional seconds (and other time units) in `top -d`.Elliott Hughes
2018-04-08Add readlink -m to show where a missing path would be.Rob Landley
2018-04-03Factor out xtempfile()Rob Landley
2017-09-09Last commit used xstrtod(), forgot to check it in.Rob Landley
2017-05-24Add and use xmmap.Elliott Hughes
2017-02-04Posix says stdio.h should define 'stdout' as a macro, and bionic turns it intoRob Landley
2017-02-04Switch oneit to use xopen_stdio() for -c (oops) and switch XVFORK() to useRob Landley
2017-01-04Some lib fixes: mark xvfork() noinline, make xsendfile() return bytes copied,Rob Landley
2016-09-05Export notstdio() wrapper.Rob Landley
2016-09-04Add openro() and WARN_ONLY flag so xopen() and friends can warn without exiting.Rob Landley
2016-08-18Change xgetpwnamid/xgetgrnamid to xgetuid/xgetgid returning the id numberRob Landley
2016-08-04Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,Rob Landley
2016-06-30Use libbuf instead of stack buffer.Rob Landley
2016-04-23Fix more to not append an extra newline.Elliott Hughes
2016-03-13Split out _xexit() from xexit() and give sigatexit() multiple callbacks.Rob Landley
2016-02-09Fix xpipe. (thinko.)Rob Landley
2016-02-08Add xpipe() to lib.Rob Landley
2016-01-28Bugfix I forgot to checkin, plus a wrapper function.Rob Landley
2016-01-10Fix hwclock -u.Elliott Hughes
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2015-12-31Tweak error message.Rob Landley
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-08-06Adjust xexec() exit code to be 127, and tweaks for nommu friendliness.Rob 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-01Patches from Elliott Hughes to add missing arguments to error_exit() calls.Rob Landley
2015-02-09Cleanup/refactoring pass on hwclock.Rob Landley
2015-02-07Remove xexec_optargs().Rob Landley
2015-01-18Remove trailing whitespace.Rob Landley
2015-01-03Move fflush() checking to xexit() and have exit paths in main() call that.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-11-28Make sendfile use libbuf.Rob Landley
2014-10-20More static analysis fixes from Ashwini Sharma.Rob Landley
2014-10-20Add TOYBOX_NORECURSE so xexec() won't make internal function calls.Rob Landley
2014-09-14Second attempt at one way xpopen().Rob Landley
2014-09-14Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether ...Rob Landley
2014-08-03Implement exec -user, -group, and -newer. Enable find in defconfig.Rob Landley
2014-07-30As long as I had to write xabspath(), no point in wrapping realpath().Rob Landley
2014-07-26Default xcreate/xopen to O_CLOEXEC. (Pass O_CLOEXEC in the flags to switch it...Rob Landley
2014-07-21Improve gid/uid error messages.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-26Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), an...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-01-16Rename xmsprintf() to just xmprintf().Rob Landley