Searched refs:dir_fd (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/contrib/tcsh/ |
H A D | sh.file.c | 478 getitem(DIR *dir_fd, int looking_for_lognames) argument 492 if ((dirp = readdir(dir_fd)) != NULL) 503 DIR *dir_fd; local 519 dir_fd = NULL; 529 dir_fd = opendir(*tilded_dir ? short2str(tilded_dir) : "."); 530 if (dir_fd == NULL) 538 while ((item = getitem(dir_fd, looking_for_lognames)) != NULL) { 562 rewinddir(dir_fd); 571 xclosedir(dir_fd);
|
/freebsd-9.3-release/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1526 int dir_fd, i, logcnt, max_logcnt; local 1558 dir_fd = dirfd(dirp); 1560 if (validate_old_timelog(dir_fd, dp, logfname, &tm) == 0) 1608 else if (unlinkat(dir_fd, oldlogs[i].fname, 0) != 0) { 2297 int dir_fd; local 2322 dir_fd = dirfd(dirp); 2325 if (validate_old_timelog(dir_fd, dp, logfname, &tm) == 0) 2328 if (fstatat(dir_fd, dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) == -1) {
|
Completed in 56 milliseconds