Home
last modified time | relevance | path

Searched refs:cuname (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c459 char cuname[PATH_MAX], tuname[PATH_MAX]; in conf_close() local
476 cuname[0] = tuname[0] = '\0'; in conf_close()
486 (void) snprintf(cuname, sizeof (cuname), "%sXXXXXX", in conf_close()
488 if ((cfd = mkstemp(cuname)) == -1) in conf_close()
492 (void) out("# writing changes to %s\n", cuname); in conf_close()
494 err(EF_SYS|EF_JMP, "chmod %s", cuname); in conf_close()
496 err(EF_SYS|EF_JMP, "fdopen on %s", cuname); in conf_close()
526 if (cuname[0] != 0) in conf_close()
527 (void) unlink(cuname); in conf_close()
536 if (cuname[0] != '\0') in conf_close()
[all …]