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

/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c139 static int fd_ptemp, fd_stemp, fd_uatemp; variable
694 fd_stemp = open(SHADTEMP, O_CREAT|O_EXCL|O_WRONLY,
696 if (fd_stemp == -1) {
703 fd_stemp = open(SHADTEMP,
705 if (fd_stemp == -1) {
715 fp_stemp = fdopen(fd_stemp, "w");
720 error = fchown(fd_stemp, statbuf.st_uid, statbuf.st_gid);
722 error = fchmod(fd_stemp, S_IRUSR);
1151 if (fflush(fp_stemp) != 0 || fsync(fd_stemp) != 0)

Completed in 45 milliseconds