summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-06-23 15:02:53 +0200
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-06-23 15:03:10 +0200
commit0a5b763d98b921f921243525ff25a70bbe00cfaa (patch)
tree2a1ddbaedc905fa4e5e4752fc606d234cfbf1907 /include
parentb47a6c93e262f4245492c947af8a600a4b1fe308 (diff)
libc: Rename fscandir{,_b}() to fdscandir{,_b}().
This seems to fit the pattern better (e.g. fdopendir()). I've added weak references to ease the transition, but since it's only been a few days, we can remove them (and the ObsoleteFiles entries for the manual pages) before we branch stable/15. Fixes: deeebfdecab5 Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D50980
Diffstat (limited to 'include')
-rw-r--r--include/dirent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 00319c0a8bd0..dff0e8675722 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -130,11 +130,11 @@ int scandir_b(const char *, struct dirent ***,
#endif
#endif
#if __BSD_VISIBLE
-int fscandir(int, struct dirent ***,
+int fdscandir(int, struct dirent ***,
int (*)(const struct dirent *), int (*)(const struct dirent **,
const struct dirent **));
#ifdef __BLOCKS__
-int fscandir_b(int, struct dirent ***,
+int fdscandir_b(int, struct dirent ***,
int (^)(const struct dirent *),
int (^)(const struct dirent **, const struct dirent **));
#endif