Searched defs:fd_ptemp (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 139 static int fd_ptemp, fd_stemp, fd_uatemp; variable 656 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, statbuf.st_mode); 657 if (fd_ptemp == -1) { 664 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, 666 if (fd_ptemp == -1) { 673 fp_ptemp = fdopen(fd_ptemp, "w"); 676 error = fchown(fd_ptemp, statbuf.st_uid, statbuf.st_gid); 678 error = fchmod(fd_ptemp, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); 1014 if (fflush(fp_ptemp) != 0 || fsync(fd_ptemp) != 0)
|
Completed in 45 milliseconds