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

/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dconfopt.c262 char tmpconf[MAXPATHLEN], conf[MAXPATHLEN]; local
285 (void) snprintf(tmpconf, sizeof (tmpconf),
289 if ((tdd = open(tmpconf, O_CREAT | O_EXCL | O_WRONLY, mode)) < 0)
306 (void) unlink(tmpconf);
313 if (rename(tmpconf, conf) < 0) {
314 (void) unlink(tmpconf);

Completed in 18 milliseconds