Skip to content

Dirent

Record used in the fpReadDir function to return files in a directory.

Declaration

Source position: ostypes.inc line 151

type
  Dirent = record
    d_fileno: ino64_t = cuint64;
    d_off: off_t = UnixType.off_t;
    d_reclen: cushort = UnixType.cushort;
    d_type: cuchar = UnixType.cuchar;
    d_name: Array[0..4095-sizeof(ino64_t)-sizeof(off_t)-sizeof(cushort)-sizeof(cuchar)] of AnsiChar = char;
  end;