diff options
Diffstat (limited to 'libc-bottom-half/cloudlibc/src/libc/dirent/telldir.c')
-rw-r--r-- | libc-bottom-half/cloudlibc/src/libc/dirent/telldir.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc-bottom-half/cloudlibc/src/libc/dirent/telldir.c b/libc-bottom-half/cloudlibc/src/libc/dirent/telldir.c new file mode 100644 index 0000000..05687ee --- /dev/null +++ b/libc-bottom-half/cloudlibc/src/libc/dirent/telldir.c @@ -0,0 +1,11 @@ +// Copyright (c) 2015 Nuxi, https://nuxi.nl/ +// +// SPDX-License-Identifier: BSD-2-Clause + +#include <dirent.h> + +#include "dirent_impl.h" + +long telldir(DIR *dirp) { + return dirp->cookie; +} |