Lines Matching refs:toys
26 #include "toys.h"
135 if (toys.optflags & FLAG_b) {
193 if (toys.optflags & FLAG_i) fcntl((sockfd + 1), F_SETFL, flags | O_NONBLOCK);
195 writeall((toys.optflags & FLAG_i)?1:sockfd, intial_iacs, sizeof(intial_iacs));
311 int inetd_m = toys.optflags & FLAG_i;
313 if (!(toys.optflags & FLAG_l)) TT.login_path = "/bin/login";
314 if (!(toys.optflags & FLAG_f)) TT.issue_path = "/etc/issue.net";
315 if (toys.optflags & FLAG_w) toys.optflags |= FLAG_F;
320 if (!(toys.optflags & FLAG_F)) daemon(0, 0);
334 if ((toys.optflags & FLAG_w) && !session_list) {
419 while (toys.signal) {
425 toys.signal = 0;
428 toys.signal++;
437 if (toys.optflags & FLAG_i) exit(EXIT_SUCCESS);