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

/solaris-x11-s11/open-src/app/installalias/sun-src/
H A Dinstallalias.c501 char tmpfile[MAXFONTNAMELEN]; local
519 strlcpy(tmpfile, aliasfile, sizeof(tmpfile));
520 strlcat(tmpfile, TempFileSuffix, sizeof(tmpfile));
521 newfile = fopen(tmpfile, "w");
524 ErrorF("Can't create new alias file %s\n", tmpfile);
566 ret = rename(tmpfile, outfile);
568 ErrorF("Unable to rename %s to %s.\n", tmpfile, outfile);

Completed in 90 milliseconds