Changeset View
Changeset View
Standalone View
Standalone View
include/dirent.h
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | int scandir(const char *, struct dirent ***, | ||||
int (*)(const struct dirent *), int (*)(const struct dirent **, | int (*)(const struct dirent *), int (*)(const struct dirent **, | ||||
const struct dirent **)); | const struct dirent **)); | ||||
#ifdef __BLOCKS__ | #ifdef __BLOCKS__ | ||||
int scandir_b(const char *, struct dirent ***, | int scandir_b(const char *, struct dirent ***, | ||||
int (^)(const struct dirent *), | int (^)(const struct dirent *), | ||||
int (^)(const struct dirent **, const struct dirent **)); | int (^)(const struct dirent **, const struct dirent **)); | ||||
#endif | #endif | ||||
#endif | #endif | ||||
#if __BSD_VISIBLE | |||||
int scandirat(int, const char *, struct dirent ***, | |||||
emaste: any reason the first argument [only] is named? | |||||
Done Inline ActionsNo, it was copy/paste. Thanks for noting. kib: No, it was copy/paste. Thanks for noting. | |||||
int (*)(const struct dirent *), int (*)(const struct dirent **, | |||||
const struct dirent **)); | |||||
#endif | |||||
#if __XSI_VISIBLE | #if __XSI_VISIBLE | ||||
void seekdir(DIR *, long); | void seekdir(DIR *, long); | ||||
long telldir(DIR *); | long telldir(DIR *); | ||||
#endif | #endif | ||||
int closedir(DIR *); | int closedir(DIR *); | ||||
__END_DECLS | __END_DECLS | ||||
#endif /* !_KERNEL */ | #endif /* !_KERNEL */ | ||||
#endif /* !_DIRENT_H_ */ | #endif /* !_DIRENT_H_ */ |
any reason the first argument [only] is named?