HomeSort by relevance Sort by last modified time
    Searched refs:perror_exit (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /external/toybox/toys/other/
swapoff.c 20 if (swapoff(toys.optargs[0])) perror_exit("failed to remove swaparea");
pivot_root.c 31 perror_exit("'%s' -> '%s'", toys.optargs[0], toys.optargs[1]);
chvt.c 33 perror_exit(0);
swapon.c 34 perror_exit("Couldn't swapon '%s'", *toys.optargs);
flock.c 37 else perror_exit("flock");
ionice.c 69 if (-1 == ioprio_set() && !(toys.optflags&FLAG_t)) perror_exit("set");
82 if (p == -1) perror_exit("read priority");
96 if (-1 == ioprio_set()) perror_exit("set");
lsmod.c 33 } else perror_exit("bad %s", modfile);
rmmod.c 42 perror_exit("failed to unload %s", mod_name);
mkpasswd.c 56 if (dup2(TT.pfd, 0) == -1) perror_exit("fd");
65 perror_exit("password read failed");
  /external/toybox/toys/posix/
unlink.c 23 perror_exit("Couldn't unlink `%s'", *toys.optargs);
link.c 23 perror_exit("couldn't link '%s' to '%s'", toys.optargs[1],
nice.c 35 if (nice(TT.priority)==-1 && errno) perror_exit("Can't set priority");
mkdir.c 46 perror_exit("-Z '%s' failed", TT.arg_context);
mkfifo.c 46 perror_exit("-Z '%s' failed", TT.Z);
  /external/toybox/toys/lsb/
hostname.c 26 perror_exit("set failed '%s'", hostname);
28 if (gethostname(toybuf, sizeof(toybuf))) perror_exit("get failed");
mknod.c 45 if (type == -1) perror_exit("bad type '%c'", *toys.optargs[1]);
47 if (toys.optc != 4) perror_exit("need major/minor");
55 perror_exit("-Z '%s' failed", TT.arg_context);
dmesg.c 38 if (klogctl(8, NULL, TT.level)) perror_exit("klogctl");
45 if (!size && 1>(size = klogctl(10, 0, 0))) perror_exit("klogctl");;
48 if (size < 0) perror_exit("klogctl");
mktemp.c 49 else perror_exit("Failed to create %s %s/%s",
  /external/toybox/toys/android/
getenforce.c 26 if (ret == -1) perror_exit("Couldn't get enforcing status");
runcon.c 24 if (setexeccon(context)) perror_exit("Could not set context to %s", context);
load_policy.c 29 perror_exit("Couldn't %s %s", policy_data ? "load" : "read", path);
  /external/toybox/lib/
net.c 7 if (fd < 0) perror_exit("socket %x %x", type, protocol);
13 if (-1 == setsockopt(fd, level, opt, val, len)) perror_exit("setsockopt");
38 else if (!ai2->ai_next) perror_exit("connect");
53 if (errno != EINTR && errno != ENOMEM) perror_exit("xpoll");
xwrap.c 122 if (fflush(stdout) || ferror(stdout)) perror_exit("write");
127 if (EOF == puts(s) || fflush(stdout) || ferror(stdout)) perror_exit("write");
133 perror_exit("write");
138 if (fflush(stdout) || ferror(stdout)) perror_exit("write");;
147 if (pid == -1) perror_exit("vfork");
184 if (pipe(cestnepasun+(2*pid))) perror_exit("pipe");
290 if (access(path, flags)) perror_exit("Can't access '%s'", path);
296 if (unlink(path)) perror_exit("unlink '%s'", path);
315 if (pipe(pp)) perror_exit("xpipe");
320 if (close(fd)) perror_exit("xclose")
    [all...]
  /external/toybox/toys/pending/
route.c 116 if (fscanf(fp, "%*[^\n]\n") < 0) perror_exit("fscanf"); //skip 1st line
125 else if (!inet_ntop(AF_INET, &dest, destip, 32)) perror_exit("inet");
128 else if (!inet_ntop(AF_INET, &gate, gateip, 32)) perror_exit("inet");
130 if (!inet_ntop(AF_INET, &mask, maskip, 32)) perror_exit("inet");
140 if (items > 0 && feof(fp)) perror_exit("fscanf %d", items);
205 perror_exit("resolving '%s'", *netmask);
214 } else if (ishost < 0) perror_exit("resolving '%s'", *argv);
215 else perror_exit("gateway '%s' is a NETWORK", *argv);
245 perror_exit("conflicting netmask and host route");
246 if (addr_mask & (addr_mask + 1)) perror_exit("wrong netmask '%s'", netmask)
    [all...]
getty.c 101 if (TT.speeds[TT.sc] < 0) perror_exit("bad speed");
102 if (++TT.sc > 10) perror_exit("too many speeds, max is 10");
129 perror_exit("setsid");
136 if (!isatty(0)) perror_exit("/dev/%s: not a tty", TT.tty_name);
142 perror_exit("no read/write permission");
149 if (tcgetattr(STDIN_FILENO, &TT.termios) < 0) perror_exit("tcgetattr");
173 perror_exit("tcsetattr");
187 perror_exit("tcsetattr");
200 perror_exit("tcsetattr");
231 if (readall(fd, buff, 1) <= 0) perror_exit("readall")
    [all...]

Completed in 327 milliseconds

1 2 3 4