diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-01-29 12:12:50 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-01-29 14:20:02 -0500 |
commit | 60efbc7695cc4adcd96a2a8d9bb326124bc5d817 (patch) | |
tree | d3c050df6d8280ce87bb46c8eafc03850cdafd11 /dir.h | |
parent | c451a8b15e8e66ddd0e6fddf2d17555233c284fa (diff) | |
download | bfs-60efbc7695cc4adcd96a2a8d9bb326124bc5d817.tar.xz |
dir: Add a Linux implementation using the getdents() syscall directly
Diffstat (limited to 'dir.h')
-rw-r--r-- | dir.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |