Lines Matching refs:fromfile
463 ** linkfile (fromfile, tofile)
465 int linkfile (const char *fromfile, const char *tofile)
469 /* fprintf (stderr, "linkfile (%s, %s)\n", fromfile, tofile); */
470 if ( (ret = link (fromfile, tofile)) == -1 && errno == EEXIST )
472 ret = link (fromfile, tofile);
478 ** copyfile (fromfile, tofile, dnskeyfile)
479 ** copy fromfile into tofile.
482 int copyfile (const char *fromfile, const char *tofile, const char *dnskeyfile)
488 /* fprintf (stderr, "copyfile (%s, %s)\n", fromfile, tofile); */
489 if ( (infp = fopen (fromfile, "r")) == NULL )
512 ** copyzonefile (fromfile, tofile, dnskeyfile)
516 int copyzonefile (const char *fromfile, const char *tofile, const char *dnskeyfile)
527 if ( fromfile == NULL )
530 if ( (infp = fopen (fromfile, "r")) == NULL )
537 if ( fromfile )
606 if ( fromfile )