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

Stat

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

Declaration

Source position: stat.inc line 18

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;

  

Inode number

        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;

  

Last access time, nano seconds part

        mtime: Cardinal;

  

Last modification time.

        mtime_nsec: Cardinal;

  

Last modification time, nano seconds part

        ctime: Cardinal;

  

Creation time

        ctime_nsec: Cardinal;

  

Creation time, nano seconds part

        ino: QWord;

  

Inode number of file

      );

    1: (

        st_dev: QWord;

  

Device number

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

  

Alignment padding.

        __st_ino_: Cardinal;

  

Inode number

        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;

  

Alignment padding.

        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;


Documentation generated on: Nov 16 2015