summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/dirent/__dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/dirent/__dirent.h')
-rw-r--r--libc-top-half/musl/src/dirent/__dirent.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/dirent/__dirent.h b/libc-top-half/musl/src/dirent/__dirent.h
new file mode 100644
index 0000000..828a5f1
--- /dev/null
+++ b/libc-top-half/musl/src/dirent/__dirent.h
@@ -0,0 +1,11 @@
+struct __dirstream
+{
+ off_t tell;
+ int fd;
+ int buf_pos;
+ int buf_end;
+ volatile int lock[1];
+ /* Any changes to this struct must preserve the property:
+ * offsetof(struct __dirent, buf) % sizeof(off_t) == 0 */
+ char buf[2048];
+};