Home
last modified time | relevance | path

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

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