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

Stat

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

Declaration

Source position: oldlinux.pp line 143

type Stat = packed record

  dev: dev_t;

  

Device number

  pad1: Word;

  

Pad byte. Do not use

  ino: LongInt;

  

Inode number of file

  mode: Word;

  

File mode

  nlink: Word;

  

Number of links to file.

  uid: Word;

  

File owner UID

  gid: Word;

  

File owner GID

  rdev: dev_t;

  

  pad2: Word;

  

Pad byte. Do not use

  size: LongInt;

  

File size

  blksize: LongInt;

  

Block size

  blocks: LongInt;

  

Number of blocks used

  atime: LongInt;

  

Last access time

  unused1: LongInt;

  

Pad byte. Do not use

  mtime: LongInt;

  

Last modification time.

  unused2: LongInt;

  

Pad byte. Do not use

  ctime: LongInt;

  

Creation time

  unused3: LongInt;

  

Pad byte. Do not use

  unused4: LongInt;

  

Pad byte. Do not use

  unused5: LongInt;

  

Pad byte. Do not use

end;

The latest version of this document can be found at lazarus-ccr.sourceforge.net.