HomeSort by relevance Sort by last modified time
    Searched defs:lfd (Results 1 - 4 of 4) sorted by null

  /external/toybox/toys/other/
losetup.c 64 int lfd = -1, ffd = ffd; local
67 // Open file (ffd) and loop device (lfd)
84 if (device) lfd = open(device, TT.openflags);
88 if (-1 == lfd || ioctl(lfd, LOOP_GET_STATUS64, loop)) {
103 if (ioctl(lfd, (flags & FLAG_c) ? 0x4C07 : LOOP_CLR_FD, 0)) {
112 if (ioctl(lfd, LOOP_SET_FD, ffd)) perror_exit("%s=%s", device, file);
117 if (ioctl(lfd, LOOP_SET_STATUS64, loop)) perror_exit("%s=%s", device, file);
131 if (lfd != -1) close(lfd);
    [all...]
  /external/toybox/toys/lsb/
umount.c 84 int lfd = open(dev, O_RDONLY); local
86 if (lfd != -1) {
88 if (!ioctl(lfd, 0x4C01) && (toys.optflags & FLAG_v))
90 close(lfd);
  /external/netcat/
netcat.c 765 int lfd = fileno(stdout); local
800 if (atomicio(vwrite, lfd, buf, n) != n)
  /system/core/adb/
file_sync_client.cpp 229 int lfd, err = 0; local
232 lfd = adb_open(path, O_RDONLY);
233 if(lfd < 0) {
253 ret = adb_read(lfd, sbuf->data, SYNC_DATA_MAX);
276 adb_close(lfd);
426 int lfd = -1; local
469 lfd = adb_creat(lpath, 0644);
470 if(lfd < 0) {
491 adb_close(lfd);
496 adb_close(lfd);
    [all...]

Completed in 307 milliseconds