Home
last modified time | relevance | path

Searched refs:tuname (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()
505 (void) snprintf(tuname, sizeof (tuname), "%sXXXXXX", in conf_close()
507 if ((tfd = mkstemp(tuname)) == -1) in conf_close()
511 (void) out("# writing changes to %s\n", tuname); in conf_close()
513 err(EF_SYS|EF_JMP, "chmod %s", tuname); in conf_close()
515 err(EF_SYS|EF_JMP, "fdopen on %s", tuname); in conf_close()
528 if (tuname[0] != 0) in conf_close()
529 (void) unlink(tuname); in conf_close()
539 if (tuname[0] != '\0') in conf_close()
[all …]