Searched refs:exitval (Results 1 - 25 of 57) sorted by relevance
123
/external/toybox/toys/posix/ |
H A D | false.c | 20 toys.exitval = 1;
|
H A D | tty.c | 31 toys.exitval = !tty;
|
H A D | sleep.c | 35 toys.exitval = !!nanosleep(&tv, NULL);
|
H A D | cmp.c | 53 toys.exitval = 1; 60 toys.exitval++; 71 toys.exitval = 1;
|
H A D | cat.c | 61 toys.exitval = EXIT_FAILURE;
|
H A D | tee.c | 66 if(len != writeall(fdl ? fdl->fd : 1, toybuf, len)) toys.exitval=1;
|
H A D | time.c | 47 toys.exitval = WIFEXITED(stat) ? WEXITSTATUS(stat) : WTERMSIG(stat);
|
/external/toybox/toys/lsb/ |
H A D | pidof.c | 33 xprintf(" %s"+!!toys.exitval, toybuf); 34 toys.exitval = 0; 41 toys.exitval = 1; 43 if (!toys.exitval) xputc('\n');
|
H A D | mktemp.c | 48 if (toys.optflags & FLAG_q) toys.exitval = 1;
|
H A D | killall.c | 95 toys.exitval = 1;
|
H A D | su.c | 98 toys.exitval = 1;
|
/external/toybox/toys/pending/ |
H A D | test.c | 47 toys.exitval = 2; 55 if (!toys.optc) toys.exitval = 0; 63 toys.exitval = 1; 68 if (id == 0) toys.exitval = !S_ISBLK(st.st_mode); // b 69 else if (id == 1) toys.exitval = !S_ISCHR(st.st_mode); // c 70 else if (id == 2) toys.exitval = !S_ISDIR(st.st_mode); // d 71 else if (id == 3) toys.exitval = 0; // e 72 else if (id == 4) toys.exitval = !S_ISREG(st.st_mode); // f 73 else if (id == 5) toys.exitval = !(st.st_mode & S_ISGID); // g 74 else if ((id == 6) || (id == 7)) toys.exitval [all...] |
H A D | useradd.c | 140 toys.exitval = xrun((char *[]){"cp", "-R", skel, p, 0}); 141 else toys.exitval = xrun((char *[]){"mkdir", "-p", p, 0}); 142 if (!toys.exitval) 143 toys.exitval |= xrun((char *[]){"chown", "-R",
|
H A D | sh.c | 304 cmd->pid = toys.exitval; 388 toys.exitval = 1;
|
/external/toybox/toys/other/ |
H A D | usleep.c | 25 toys.exitval = !!nanosleep(&tv, NULL);
|
H A D | reboot.c | 33 if (toys.optflags & FLAG_f) toys.exitval = reboot(types[idx]); 34 else toys.exitval = kill(1, sigs[idx]);
|
H A D | pwdx.c | 32 toys.exitval = 1;
|
H A D | readlink.c | 40 } else toys.exitval = 1;
|
H A D | flock.c | 36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1;
|
H A D | printenv.c | 41 if (*var && !catch) toys.exitval = 1;
|
H A D | mountpoint.c | 26 toys.exitval++; 58 toys.exitval = !(st1.st_dev != st2.st_dev || st1.st_ino == st2.st_ino); 62 printf("%s is %sa mountpoint\n", *toys.optargs, toys.exitval ? "not " : "");
|
H A D | which.c | 67 toys.exitval |= which_in_path(toys.optargs[i]);
|
H A D | nsenter.c | 137 toys.exitval = xrun(toys.optargs); 163 toys.exitval = xrun(toys.optargs);
|
H A D | timeout.c | 69 toys.exitval = xwaitpid(TT.pid);
|
H A D | inotifyd.c | 125 toys.exitval = !!toys.signal;
|
Completed in 140 milliseconds
123