Searched refs:cpfile (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | moduli.c | 449 write_checkpoint(char *cpfile, u_int32_t lineno) in write_checkpoint() argument 455 r = snprintf(tmp, sizeof(tmp), "%s.XXXXXXXXXX", cpfile); in write_checkpoint() 471 && rename(tmp, cpfile) == 0) in write_checkpoint() 473 (unsigned long)lineno, cpfile); in write_checkpoint() 475 logit("failed to write to checkpoint file '%s': %s", cpfile, in write_checkpoint() 480 read_checkpoint(char *cpfile) in read_checkpoint() argument 485 if ((fp = fopen(cpfile, "r")) == NULL) in read_checkpoint() 488 logit("Failed to load checkpoint from '%s'", cpfile); in read_checkpoint() 490 logit("Loaded checkpoint from '%s' line %lu", cpfile, lineno); in read_checkpoint()
|