Searched refs:fd_ptemp (Results 1 – 1 of 1) sorted by relevance
/titanic_41/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); in main() 657 if (fd_ptemp == -1) { in main() 664 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, in main() 666 if (fd_ptemp == -1) { in main() 673 fp_ptemp = fdopen(fd_ptemp, "w"); in main() 676 error = fchown(fd_ptemp, statbuf.st_uid, statbuf.st_gid); in main() 678 error = fchmod(fd_ptemp, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); in main() 1014 if (fflush(fp_ptemp) != 0 || fsync(fd_ptemp) != 0) in main()
|