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

/haiku/src/libs/bsd/
H A Dfts.c640 fts_safe_readdir(DIR *dirp, int *readdir_errno) argument
645 if (!dirp)
647 ret = readdir(dirp);
672 DIR *dirp; local
702 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
758 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) {
796 (dp = fts_safe_readdir(dirp, &readdir_errno));) {
815 (void)closedir(dirp);
860 p->fts_info = fts_stat(sp, p, 0, dirfd(dirp));
892 if (dirp)
[all...]
/haiku/src/system/libroot/posix/
H A Dglob.c615 DIR *dirp; local
632 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
651 while ((dp = (*readdirfunc)(dirp))) {
686 (*pglob->gl_closedir)(dirp);
688 closedir(dirp);
/haiku/src/bin/network/ftpd/
H A Dftpd.c3207 DIR *dirp = NULL;
3271 if ((dirp = opendir(dirname)) == NULL)
3274 while ((dir = readdir(dirp)) != NULL) {
3323 (void) closedir(dirp);
3324 dirp = NULL;
3341 if (dirp)
3342 (void) closedir(dirp);
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c2723 DIR* dirp; local
2749 dirp = opendir( hc->expnfilename );
2750 if ( dirp == (DIR*) 0 )
2762 closedir( dirp );
2816 closedir( dirp );
2841 while ( ( de = readdir( dirp ) ) != 0 ) /* dirent or direct */
2860 closedir( dirp );
2871 closedir( dirp );
3017 closedir( dirp );

Completed in 104 milliseconds