/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/mtab/ |
H A D | mtab_file.c | 255 int tmpfd; local 273 tmpfd = mkstemp(tmpname); 274 fchmod(tmpfd, 0644); 277 tmpfd = open(tmpname, O_RDWR | O_CREAT | O_TRUNC, 0644); 279 if (tmpfd < 0) { 287 if (close(tmpfd) < 0)
|
H A D | mtab_linux.c | 337 int tmpfd; local 363 tmpfd = mkstemp(tmpname); 364 fchmod(tmpfd, 0644); 367 tmpfd = open(tmpname, O_RDWR | O_CREAT | O_TRUNC, 0644); 369 if (tmpfd < 0) { 377 if (close(tmpfd) < 0)
|
H A D | mtab_mach3.c | 320 int tmpfd; local 337 tmpfd = mkstemp(tmpname); 338 fchmod(tmpfd, 0644); 341 tmpfd = open(tmpname, O_RDWR | O_CREAT | O_TRUNC, 0644); 343 if (tmpfd < 0) { 351 if (close(tmpfd) < 0)
|
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/ |
H A D | chfs_build.c | 120 struct chfs_dirent *fd, *tmpfd; local 143 TAILQ_FOREACH_SAFE(fd, &vc->scan_dirents, fds, tmpfd) { 222 struct chfs_dirent *fd, *tmpfd; local 341 TAILQ_FOREACH_SAFE(fd, &unlinked, fds, tmpfd) { 362 TAILQ_FOREACH_SAFE(fd, &vc->scan_dirents, fds, tmpfd) {
|
H A D | chfs_nodeops.c | 123 struct chfs_dirent *fd, *tmpfd; local 130 TAILQ_FOREACH_SAFE(fd, &parent->dents, fds, tmpfd) {
|
H A D | chfs_scan.c | 267 struct chfs_dirent *fd, *tmpfd; local 279 TAILQ_FOREACH_SAFE(fd, &pvc->scan_dirents, fds, tmpfd) {
|
H A D | chfs_write.c | 473 struct chfs_dirent *fd, *tmpfd; local 487 TAILQ_FOREACH_SAFE(fd, &parent->dents, fds, tmpfd) {
|
H A D | chfs_gc.c | 289 struct chfs_dirent *fd, *tmpfd; local 322 TAILQ_FOREACH_SAFE(fd, &ip->dents, fds, tmpfd) {
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/ |
H A D | file.c | 151 int tmpfd; local 168 tmpfd = mkstemp(buf); 169 if (tmpfd > 0) 170 _close(tmpfd);
|
/netbsd-6-1-5-RELEASE/usr.bin/mkdep/ |
H A D | mkdep.c | 106 int tmpfd; local 128 if ((tmpfd = mkstemp(tmpfilename)) < 0) 136 (void)dup2(tmpfd, STDOUT_FILENO); 137 (void)close(tmpfd); 156 return tmpfd;
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/win32/ |
H A D | file.c | 156 int tmpfd; local 173 tmpfd = mkstemp(buf, ISC_TRUE); 174 if (tmpfd > 0) 175 _close(tmpfd);
|
/netbsd-6-1-5-RELEASE/usr.sbin/edquota/ |
H A D | edquota.c | 1236 int tmpfd, const char *tmppath) 1253 if (writeprivs(curprivs, tmpfd, name, idtype, 1260 if (readprivs(curprivs, tmpfd, dflag) < 0) 1272 int tmpfd, i; local 1274 tmpfd = mkstemp(tmppath); 1275 fchown(tmpfd, getuid(), getgid()); 1278 editone(fs, idtype, names[i], tmpfd, tmppath); 1281 close(tmpfd); 1235 editone(const char *fs, int idtype, const char *name, int tmpfd, const char *tmppath) argument
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/clients/tools/ |
H A D | ldapsearch.c | 1630 int tmpfd; local 1637 tmpfd = mkstemp( tmpfname ); 1639 if ( tmpfd < 0 ) { 1644 if (( tmpfp = fdopen( tmpfd, "w")) == NULL ) {
|