Searched refs:cpfile (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | moduli.c | 450 write_checkpoint(char *cpfile, u_int32_t lineno) in write_checkpoint() argument 456 r = snprintf(tmp, sizeof(tmp), "%s.XXXXXXXXXX", cpfile); in write_checkpoint() 472 && rename(tmp, cpfile) == 0) in write_checkpoint() 474 (unsigned long)lineno, cpfile); in write_checkpoint() 476 logit("failed to write to checkpoint file '%s': %s", cpfile, in write_checkpoint() 481 read_checkpoint(char *cpfile) in read_checkpoint() argument 486 if ((fp = fopen(cpfile, "r")) == NULL) in read_checkpoint() 489 logit("Failed to load checkpoint from '%s'", cpfile); in read_checkpoint() 491 logit("Loaded checkpoint from '%s' line %lu", cpfile, lineno); in read_checkpoint()
|