Searched refs:tempfd (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 127 static int tempfd = -1; variable 220 if (tempfd == -1) { 222 tempfd = mkstemp(temp); 223 if (tempfd == -1) { 801 if ((tempfd = mkstemp(temp)) == -1 || 802 (tempdes = fdopen(tempfd, "w")) == NULL)
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 907 int tempfd; local 926 tempfd = open(SHADTEMP, O_WRONLY|O_CREAT|O_TRUNC, filemode); 927 if (tempfd < 0) { 931 (void) fchown(tempfd, (uid_t)0, stbuf.st_gid); 933 if ((dst = fdopen(tempfd, "wF")) == NULL) { 1010 int tempfd; local 1023 if ((tempfd = open(PASSTEMP, O_WRONLY|O_CREAT|O_TRUNC, 0600)) < 0) { 1027 if ((dst = fdopen(tempfd, "wF")) == NULL) {
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getutx.c | 122 static int tempfd = -1; /* To store fd between lockutx() and unlockutx() */ variable 1090 tempfd = fd; 1107 fd = tempfd;
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_pwdutil.c | 477 int tempfd; local 496 if ((tempfd = open(SMB_PASSTEMP, O_WRONLY|O_CREAT|O_TRUNC, 0600)) < 0) { 501 if ((dst = fdopen(tempfd, "wF")) == NULL) {
|
Completed in 93 milliseconds