Lines Matching refs:toys
31 #include "toys.h"
53 toys.signal = signal;
70 if (toys.optflags & FLAG_3) {
79 while (!toys.signal) {
89 while (pid != wait(&i)) if (toys.optflags & FLAG_3) i = write(4, &pid, 4);
90 if (toys.optflags & FLAG_n) continue;
92 oneit_signaled((toys.optflags & FLAG_p) ? SIGUSR2 : SIGTERM);
103 toy_exec(toys.optargs);
104 execvp(*toys.optargs, toys.optargs);
105 perror_msg("%s not in PATH=%s", *toys.optargs, getenv("PATH"));