help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

Stat

Record describing an inode (file) in the FPFstat call.

Declaration

Source position: stat.inc line 17

type Stat = packed record

  case Byte of

    0: (

        dev: qword;

  

Device number

        __pad0: array [0..3] of Byte;

  

Pad bytes, do not use

        __ino: cardinal;

        mode: cardinal;

  

File mode

        nlink: cardinal;

  

Number of links to file.

        uid: cardinal;

  

File owner UID

        gid: cardinal;

  

File owner GID

        rdev: qword;

  

        __pad3: array [0..3] of Byte;

  

Pad bytes, do not use

        size: qword;

  

File size

        blksize: cardinal;

  

Block size

        blocks: qword;

  

Number of blocks used

        atime: cardinal;

  

Last access time

        atime_nsec: cardinal;

        mtime: cardinal;

  

Last modification time.

        mtime_nsec: cardinal;

        ctime: cardinal;

  

Creation time

        ctime_nsec: cardinal;

        ino: qword;

  

Inode number of file

      );

    1: (

        st_dev: qword;

  

Device number

        __pad0_: array [0..3] of Byte;

        __st_ino_: cardinal;

        st_mode: cardinal;

  

File mode

        st_nlink: cardinal;

  

Number of hard links

        st_uid: cardinal;

  

File owner User ID

        st_gid: cardinal;

  

File owner group ID

        st_rdev: qword;

  

??

        __pad3_: array [0..3] of Byte;

        st_size: qword;

  

File size in bytes

        st_blksize: cardinal;

  

Block size

        st_blocks: qword;

  

Number of blocks

        st_atime: cardinal;

  

Last file access time

        st_atime_nsec: cardinal;

  

Access time with nanosecond precision

        st_mtime: cardinal;

  

Last file modification time

        st_mtime_nsec: cardinal;

  

Modification time with nanosecond precision

        st_ctime: cardinal;

  

File creation time

        st_ctime_nsec: cardinal;

  

Create time with nanosecond precision

        st_ino: qword;

  

Inode number

      );

end;

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505