Lines Matching defs:tw_dir_fd
58 static DIR *tw_dir_fd = NULL; /* Current directory descriptor */
77 tw_dir_fd = dfd; \
78 if (tw_dir_fd != NULL) \
79 rewinddir(tw_dir_fd); \
191 CLRDIR(tw_dir_fd)
744 int ret = tw_dir_next(res, tw_dir_fd);
746 CLRDIR(tw_dir_fd)
748 if ((tw_dir_fd = opendir(short2str(*tw_env))) != NULL)
753 if (tw_dir_fd) {
758 ret = tw_dir_next(res, tw_dir_fd);
771 CLRDIR(tw_dir_fd)