Searched refs:xopen (Results 1 – 25 of 46) sorted by relevance
12
/external/toybox/toys/other/ |
D | nsenter.c | 81 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY); 144 if (setns(fd = xopen(filename, O_RDONLY), flags[i])) in unshare_main()
|
D | rfkill.c | 60 fd = xopen("/dev/rfkill", (tvar ? O_RDWR : O_RDONLY)|O_NONBLOCK); in rfkill_main() 83 tvar = xopen(toybuf, O_RDONLY); in rfkill_main()
|
D | freeramdisk.c | 24 fd = xopen(toys.optargs[0], O_RDWR); in freeramdisk_main()
|
D | fsfreeze.c | 26 int fd = xopen(*toys.optargs, O_RDONLY); in fsfreeze_main()
|
D | mkswap.c | 20 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE); in mkswap_main()
|
D | insmod.c | 25 int fd = xopen(*toys.optargs, O_RDONLY); in insmod_main()
|
D | blockdev.c | 52 int fd = xopen(*ss, O_RDONLY), i;
|
D | eject.c | 66 fd = xopen(device_name, O_RDONLY | O_NONBLOCK); in eject_main()
|
D | mix.c | 39 fd = xopen(TT.dev, O_RDWR|O_NONBLOCK);
|
D | oneit.c | 96 xopen(TT.console ? TT.console : "/dev/tty0", O_RDWR|O_CLOEXEC); in oneit_main()
|
D | shred.c | 45 TT.ufd = xopen("/dev/urandom", O_RDONLY);
|
D | makedevs.c | 50 fd = xopen(TT.fname, O_RDONLY);
|
D | nbd_client.c | 49 nbd = xopen(device, O_RDWR); in nbd_client_main()
|
/external/toybox/toys/pending/ |
D | openvt.c | 91 fd = xopen("/dev/console", O_RDONLY | O_NONBLOCK); in openvt_main() 102 vt_fd = xopen(toybuf, O_RDWR); in openvt_main()
|
D | crontab.c | 116 int lno, fd = xopen(fname, O_RDONLY); in parse_crontab() 235 fdin = xopen(src, O_RDONLY); in update_crontab() 279 srcfd = xopen(toybuf, O_RDONLY); in do_edit()
|
D | dumpleases.c | 45 fd = xopen(TT.file, O_RDONLY); in dumpleases_main()
|
D | klogd.c | 77 TT.fd = xopen("/proc/kmsg", O_RDONLY); //_PATH_KLOG in paths.h in klogd_main()
|
D | sulogin.c | 91 dup2((fd = xopen(toys.optargs[0], O_RDWR)), 0); in sulogin_main()
|
D | hwclock.c | 85 if (fd == -1) fd = xopen(TT.fname, flag); in hwclock_main()
|
/external/toybox/toys/android/ |
D | load_policy.c | 23 int fd = xopen(path, O_RDONLY); in load_policy_main()
|
/external/toybox/toys/posix/ |
D | uuencode.c | 29 if (toys.optc > 1) fd = xopen(toys.optargs[0], O_RDONLY); in uuencode_main()
|
D | comm.c | 52 ? xopen(toys.optargs[i], O_RDONLY) : 0; in comm_main()
|
D | uudecode.c | 33 if (toys.optc) ifd = xopen(*toys.optargs, O_RDONLY);
|
D | patch.c | 259 if (TT.infile) TT.filepatch = xopen(TT.infile, O_RDONLY); in patch_main() 394 TT.filein = xopen(name, O_RDONLY); in patch_main()
|
/external/toybox/lib/ |
D | interestingtimes.c | 14 return xopen("/dev/tty", O_RDWR); in xgettty()
|
12