Lines Matching refs:fdi
200 int fdi[3], fdo, i; in btxld() local
206 if ((fdi[i] = open(fname, O_RDONLY)) == -1) in btxld()
210 gethdr(fdi[i], &ihdr); in btxld()
217 getbtx(fdi[i], &btx); in btxld()
220 gethdr(fdi[i], &ihdr); in btxld()
261 copy(fdi[i], fdo, ldr_size, 0); in btxld()
270 copy(fdi[i], fdo, btx.btx_textsz - sizeof(btx), in btxld()
274 copy(fdi[i], fdo, ihdr.size, 0); in btxld()
278 if (close(fdi[i])) in btxld()
442 copy(int fdi, int fdo, size_t nbyte, off_t offset) in copy() argument
450 if (readx(fdi, buf, n, offset) != n) in copy()