Searched refs:tempfname (Results 1 - 3 of 3) sorted by relevance

/external/elfutils/src/
H A Dar.c605 char tempfname[] = "XXXXXX"; local
612 xfd = mkstemp (tempfname);
665 unlink (tempfname);
705 r = link (tempfname, arhdr->ar_name);
707 unlink (tempfname);
710 r = rename (tempfname, arhdr->ar_name);
727 r = link (tempfname, truncfname);
729 unlink (tempfname);
732 r = rename (tempfname, truncfname);
740 unlink (tempfname);
[all...]
H A Dld.h780 const char *tempfname; member in struct:ld_state
H A Dldgeneric.c2636 if (status != 0 && ld_state.tempfname != NULL)
2637 unlink (ld_state.tempfname);
2655 char *tempfname = (char *) obstack_alloc (&ld_state.smem, local
2657 ld_state.tempfname = tempfname;
2663 strcpy (mempcpy (tempfname, ld_state.outfname, outfname_len), ".XXXXXX");
2669 if (mktemp (tempfname) != NULL
2670 && (fd = open (tempfname, O_RDWR | O_EXCL | O_CREAT | O_NOFOLLOW,
6988 if (rename (ld_state.tempfname, ld_state.outfname) != 0)
7008 ld_state.tempfname
[all...]

Completed in 120 milliseconds