Searched refs:xopen (Results 1 – 25 of 26) sorted by relevance
12
/external/toybox/toys/other/ |
D | freeramdisk.c | 24 fd = xopen(toys.optargs[0], O_RDWR); in freeramdisk_main()
|
D | mkswap.c | 25 int fd = xopen(*toys.optargs, O_RDWR), pagesize = sysconf(_SC_PAGE_SIZE);
|
D | eject.c | 66 fd = xopen(device_name, O_RDONLY | O_NONBLOCK); in eject_main()
|
D | devmem.c | 40 fd = xopen("/dev/mem", (writing ? O_RDWR : O_RDONLY) | O_SYNC); in devmem_main()
|
D | mix.c | 37 fd = xopen(TT.d, O_RDWR|O_NONBLOCK); in mix_main()
|
D | nbd_client.c | 49 nbd = xopen(device, O_RDWR); in nbd_client_main()
|
D | nsenter.c | 85 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY);
|
D | hwclock.c | 87 if (fd == -1) fd = xopen(TT.f, flag); in hwclock_main()
|
D | losetup.c | 58 if (file) ffd = xopen(file, TT.openflags);
|
D | hexedit.c | 122 fd = xopen(*toys.optargs, ro ? O_RDONLY : O_RDWR); in hexedit_main()
|
D | i2ctools.c | 92 fd = xopen(toybuf, O_RDONLY); in i2c_open()
|
D | bzcat.c | 687 if (toys.optflags&FLAG_t) outfd = xopen("/dev/null", O_WRONLY); in do_bunzip2()
|
/external/toybox/toys/android/ |
D | sendevent.c | 24 int fd = xopen(*toys.optargs, O_RDWR); in sendevent_main()
|
/external/toybox/toys/net/ |
D | tunctl.c | 42 int fd = xopen("/dev/net/tun", O_RDWR);
|
D | microcom.c | 45 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
|
D | rfkill.c | 60 fd = xopen("/dev/rfkill", (tvar ? O_RDWR : O_RDONLY)|O_NONBLOCK); in rfkill_main()
|
D | netcat.c | 96 if (TT.f) in1 = out2 = xopen(TT.f, O_RDWR); in netcat_main()
|
D | ifconfig.c | 463 fd = xopen(toybuf, O_RDWR); in ifconfig_main()
|
/external/toybox/toys/pending/ |
D | openvt.c | 92 fd = xopen("/dev/console", O_RDONLY | O_NONBLOCK); in openvt_main()
|
D | stty.c | 454 else TT.fd=xopen(TT.device, (O_RDWR*!!*toys.optargs)|O_NOCTTY|O_NONBLOCK); in stty_main()
|
D | tar.c | 479 fd = xopen((char *)flist->arg, O_RDONLY); in add_from_file()
|
/external/toybox/lib/ |
D | portability.c | 41 fd = xopen(flags ? "/dev/random" : "/dev/urandom",O_RDONLY|(flags&WARN_ONLY)); in xgetrandom()
|
D | xwrap.c | 437 int xopen(char *path, int flags) in xopen() function 447 return xopen(path, flags^WARN_ONLY); in openro()
|
D | lib.h | 146 int xopen(char *path, int flags);
|
/external/toybox/toys/posix/ |
D | patch.c | 399 if (FLAG(dry_run)) TT.fileout = xopen("/dev/null", O_RDWR); in patch_main()
|
12