Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/power/
H A Dconf.c64 static char tmp_conf[] = "/etc/.tmp.conf.XXXXXX"; variable
96 if (access(tmp_conf, F_OK) == 0) in cleanup()
97 (void) unlink(tmp_conf); in cleanup()
445 if ((tmp_fd = mkstemp(tmp_conf)) == -1) { in write_conf()
446 mesg(MERR, "cannot open/create tmp file \"%s\"\n", tmp_conf); in write_conf()
474 else if (chmod(name = tmp_conf, stbuf.st_mode) == -1) in write_conf()
476 else if (chown(tmp_conf, stbuf.st_uid, stbuf.st_gid) == -1) in write_conf()
478 else if (rename(tmp_conf, default_conf) == -1) in write_conf()
482 tmp_conf, default_conf); in write_conf()