Searched refs:fd_limit (Results 1 - 2 of 2) sorted by relevance
/haiku/src/system/libroot/posix/musl/misc/ |
H A D | ftw.c | 3 int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit) argument 8 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS);
|
H A D | nftw.c | 23 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) argument 72 if (!fd_limit) close(dfd); 82 if ((type == FTW_D || type == FTW_DP) && fd_limit) { 103 if ((r=do_nftw(path, fn, fd_limit-1, flags, &new))) { 123 int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) argument 129 if (fd_limit <= 0) return 0; 139 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL);
|
Completed in 83 milliseconds