Lines Matching refs:outfd
244 int outfd
340 if (write(outfd, &the_header,
350 if (write(outfd, the_commands[i],
373 if (write(outfd, buf, size) != size) {
384 if (write(outfd, (char *)data_address,
412 if (write(outfd, buf, size) != size) {
439 if (lseek (outfd, fdatastart + reloc_info.r_address - dataseg_vmaddr, L_SET) < 0 ) {
445 if (write(outfd, &zeroval, 1) != 1) {
451 if (write(outfd, &zeroval, 2) != 2) {
457 if (write(outfd, &zeroval, 4) != 4) {
477 int outfd;
494 outfd = open(tmpfile, O_WRONLY|O_TRUNC|O_CREAT, 0755);
495 if (outfd < 0) {
500 if (!unexec_doit(infd, outfd)) {
502 close(outfd);
507 close(outfd);