Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/power/
H A Dconf.c62 static char tmp_conf[] = "/etc/.tmp.conf.XXXXXX"; variable
94 if (access(tmp_conf, F_OK) == 0) in cleanup()
95 (void) unlink(tmp_conf); in cleanup()
443 if ((tmp_fd = mkstemp(tmp_conf)) == -1) { in write_conf()
444 mesg(MERR, "cannot open/create tmp file \"%s\"\n", tmp_conf); in write_conf()
472 else if (chmod(name = tmp_conf, stbuf.st_mode) == -1) in write_conf()
474 else if (chown(tmp_conf, stbuf.st_uid, stbuf.st_gid) == -1) in write_conf()
476 else if (rename(tmp_conf, default_conf) == -1) in write_conf()
480 tmp_conf, default_conf); in write_conf()