/external/toybox/toys/other/ |
freeramdisk.c | 24 fd = xopen(toys.optargs[0], O_RDWR);
|
fsfreeze.c | 26 int fd = xopen(*toys.optargs, O_RDONLY);
|
blockdev.c | 49 int fd = xopen(*ss, O_RDONLY), i;
|
mkswap.c | 25 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE);
|
nsenter.c | 82 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY); 155 if (setns(fd = xopen(filename, O_RDONLY), flags[i]))
|
rfkill.c | 60 fd = xopen("/dev/rfkill", (tvar ? O_RDWR : O_RDONLY)|O_NONBLOCK); 83 tvar = xopen(toybuf, O_RDONLY);
|
eject.c | 66 fd = xopen(device_name, O_RDONLY | O_NONBLOCK);
|
insmod.c | 24 int fd = !strcmp(*toys.optargs, "-") ? 0 : xopen(*toys.optargs, O_RDONLY);
|
mix.c | 39 fd = xopen(TT.dev, O_RDWR|O_NONBLOCK);
|
oneit.c | 98 // Remember, O_CLOEXEC is backwards for xopen() 99 xopen(TT.console ? TT.console : "/dev/tty0", O_RDWR|O_CLOEXEC);
|
shred.c | 45 TT.ufd = xopen("/dev/urandom", O_RDONLY);
|
makedevs.c | 50 fd = xopen(TT.fname, O_RDONLY);
|
nbd_client.c | 49 nbd = xopen(device, O_RDWR);
|
hwclock.c | 85 if (fd == -1) fd = xopen(TT.fname, flag);
|
losetup.c | 69 if (file) ffd = xopen(file, TT.openflags);
|
/external/toybox/toys/android/ |
load_policy.c | 23 int fd = xopen(path, O_RDONLY);
|
/external/toybox/toys/posix/ |
uuencode.c | 29 if (toys.optc > 1) fd = xopen(toys.optargs[0], O_RDONLY);
|
comm.c | 52 ? xopen(toys.optargs[i], O_RDONLY) : 0;
|
uudecode.c | 33 if (toys.optc) ifd = xopen(*toys.optargs, O_RDONLY);
|
/external/toybox/toys/pending/ |
openvt.c | 91 fd = xopen("/dev/console", O_RDONLY | O_NONBLOCK); 102 vt_fd = xopen(toybuf, O_RDWR);
|
dumpleases.c | 45 fd = xopen(TT.file, O_RDONLY);
|
klogd.c | 77 TT.fd = xopen("/proc/kmsg", O_RDONLY); //_PATH_KLOG in paths.h
|
sulogin.c | 91 dup2((fd = xopen(toys.optargs[0], O_RDWR)), 0);
|
crontab.c | 116 int lno, fd = xopen(fname, O_RDONLY); 235 fdin = xopen(src, O_RDONLY); 279 srcfd = xopen(toybuf, O_RDONLY);
|
/external/toybox/lib/ |
interestingtimes.c | 14 return xopen("/dev/tty", O_RDWR);
|