Searched defs:cuname (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c452 char cuname[PATH_MAX], tuname[PATH_MAX]; local
469 cuname[0] = tuname[0] = '\0';
479 (void) snprintf(cuname, sizeof (cuname), "%sXXXXXX",
481 if ((cfd = mkstemp(cuname)) == -1)
485 (void) out("# writing changes to %s\n", cuname);
487 err(EF_SYS|EF_JMP, "chmod %s", cuname);
489 err(EF_SYS|EF_JMP, "fdopen on %s", cuname);
519 if (cuname[0] != 0)
520 (void) unlink(cuname);
[all...]

Completed in 77 milliseconds