Home | History | Annotate | Download | only in pending

Lines Matching refs:toys

28 #include "toys.h"
175 while (--tcnt && !toys.signal) {
262 if (*toys.optargs) {
263 if (!strcmp("start", *toys.optargs)) bchartd_opt = 1;
264 else if (!strcmp("stop", *toys.optargs)) bchartd_opt = 2;
265 else if (!strcmp("init", *toys.optargs)) bchartd_opt = 3;
266 else error_exit("Unknown option '%s'", *toys.optargs);
296 stop_logging(tmp_dir, bchartd_opt == 1 ? toys.optargs[1] : NULL);
309 if (bchartd_opt == 1 && toys.optargs[1]) {
312 if (!(prog_pid = xfork())) xexec(toys.optargs+1);