summaryrefslogtreecommitdiffstats
path: root/dir.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-01-29 12:12:50 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-01-29 14:20:02 -0500
commit60efbc7695cc4adcd96a2a8d9bb326124bc5d817 (patch)
treed3c050df6d8280ce87bb46c8eafc03850cdafd11 /dir.h
parentc451a8b15e8e66ddd0e6fddf2d17555233c284fa (diff)
downloadbfs-60efbc7695cc4adcd96a2a8d9bb326124bc5d817.tar.xz
dir: Add a Linux implementation using the getdents() syscall directly
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.h b/dir.h
index 5817013..69344c6 100644
--- a/dir.h
+++ b/dir.h
@@ -101,7 +101,7 @@ int bfs_dirfd(const struct bfs_dir *dir);
* @return
* 1 on success, 0 on EOF, or -1 on failure.
*/
-int bfs_readdir(struct bfs_dir *dir, struct bfs_dirent *dirent);
+int bfs_readdir(struct bfs_dir *dir, struct bfs_dirent *de);
/**
* Close a directory.