Lines Matching defs:fdi
206 int fdi[3], fdo, i;
212 if ((fdi[i] = open(fname, O_RDONLY)) == -1)
216 gethdr(fdi[i], &ihdr);
223 getbtx(fdi[i], &btx);
226 gethdr(fdi[i], &ihdr);
267 copy(fdi[i], fdo, ldr_size, 0);
276 copy(fdi[i], fdo, btx.btx_textsz - sizeof(btx),
280 copy(fdi[i], fdo, ihdr.size, 0);
284 if (close(fdi[i]))
447 copy(int fdi, int fdo, size_t nbyte, off_t offset)
455 if (readx(fdi, buf, n, offset) != n)