Searched refs:tfname (Results 1 - 1 of 1) sorted by relevance

/solaris-userland/components/net-snmp-57/sun/agent/modules/seaExtensions/
H A DsunProcesses.c478 char *tfname; local
483 if ((tfname = mktemp(tmpname)) == NULL || *tfname == '\0') {
489 if ((fd = open(tfname, O_WRONLY|O_CREAT|O_EXCL, 0664)) < 0) {
491 tfname, strerror(errno));
498 (void) chown(tfname, (uid_t)0, (gid_t)3);
506 if (rename(tfname, psfile) != 0) {
507 SYSLOG2(" rename(\"%s\",\"%s\") failed\n", tfname, psfile);

Completed in 44 milliseconds