aboutsummaryrefslogtreecommitdiff
path: root/toys/other/oneit.c
AgeCommit message (Collapse)Author
2020-09-09Use flag macros and document -rn options.Rob Landley
2020-04-12Minor cleanup.Rob Landley
2019-02-20Exit code should indicate _which_ signal oneit's exiting due to.Rob Landley
2018-11-02Convert more option vars to the new (single letter) coding style.Rob Landley
2018-08-19Oneit shouldn't reboot the system if it's not pid 1.Rob Landley
2017-05-26Be more consistent about periods in help text.Elliott Hughes
2017-02-04Switch oneit to use xopen_stdio() for -c (oops) and switch XVFORK() to useRob Landley
__attribute__((returns_twice)) instead of noinline. Yes LLVM supports it: https://llvm.org/bugs/show_bug.cgi?id=6287
2016-08-04Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,Rob Landley
add xopenro() that takes one argument and understands "-" means stdin, and switch over lots of users.
2015-11-02Explain signals in oneit help text.Rob Landley
2015-09-05Two large thinkos in oneit: -3 was always enabled and signal numbers wereRob Landley
overwritten before we set up signal handlers.
2015-03-09Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and ↵Rob Landley
signal handling.
2014-08-09Disable xopen's default O_CLOEXEC for oneit.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked ↵Rob Landley
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring.
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define ↵Rob Landley
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
2012-08-25Regularize command headers, update links to standards documents.Rob Landley
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley