summaryrefslogtreecommitdiff
path: root/packages/libc/src/bdirenth.inc
blob: ac2f4fa447f840026bc60b268789b0ec879a9c4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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;