about summary refs log tree commit diff
path: root/conform/data/dirent.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/dirent.h-data')
-rw-r--r--conform/data/dirent.h-data20
1 files changed, 20 insertions, 0 deletions
diff --git a/conform/data/dirent.h-data b/conform/data/dirent.h-data
new file mode 100644
index 0000000000..4dbe552c11
--- /dev/null
+++ b/conform/data/dirent.h-data
@@ -0,0 +1,20 @@
+#ifndef ISO
+type DIR
+
+type {struct dirent}
+
+element {struct dirent} ino_t d_ino
+element {struct dirent} char d_name []
+
+type ino_t
+
+function int closedir (DIR*)
+function DIR* opendir (const char*)
+function {struct dirent*} readdir (DIR*)
+function int readdir_r (DIR*, struct dirent*, struct dirent**)
+function void rewinddir (DIR*)
+function void seekdir (DIR*, long int)
+function {long int} telldir (DIR*)
+
+allow d_*
+#endif