summaryrefslogtreecommitdiff
path: root/packages/libc/src/bdirenth.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libc/src/bdirenth.inc')
-rw-r--r--packages/libc/src/bdirenth.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/libc/src/bdirenth.inc b/packages/libc/src/bdirenth.inc
new file mode 100644
index 0000000000..ac2f4fa447
--- /dev/null
+++ b/packages/libc/src/bdirenth.inc
@@ -0,0 +1,37 @@
+
+type
+ Pdirent = ^dirent;
+ dirent = record
+ d_ino : __ino_t;
+ d_off : __off_t;
+ d_reclen : word;
+ d_type : byte;
+ d_name : array[0..255] of char;
+ end;
+
+type
+ Pdirent64 = ^dirent64;
+ dirent64 = record
+ d_ino : __ino64_t;
+ d_off : __off64_t;
+ d_reclen : word;
+ d_type : byte;
+ d_name : array[0..255] of char;
+ end;
+
+
+{ ---------------------------------------------------------------------
+ Borland compatibility types
+ ---------------------------------------------------------------------}
+
+Type
+ TDirEnt = dirent;
+ PPDirEnt = ^PDirEnt;
+ PPPDirEnt = ^PPDirEnt;
+
+ TDirEnt64 = dirent64;
+ PPDirEnt64 = ^PDirEnt64;
+ PPPDirEnt64 = ^PPDirEnt64;
+
+
+