PHP.nl

dio_stat

dio_stat

Gets stat information about the file descriptor fd

array **dio_stat** resource $fd
returns information about the given file

descriptor. dio_stat

fd The file descriptor returned by . dio_open

Returns an associative array with the following keys:

On error returns null.

  • "device" - device
  • "inode" - inode
  • "mode" - mode
  • "nlink" - number of hard links
  • "uid" - user id
  • "gid" - group id
  • "device_type" - device type (if inode device)
  • "size" - total size in bytes
  • "blocksize" - blocksize
  • "blocks" - number of blocks allocated
  • "atime" - time of last access
  • "mtime" - time of last modification
  • "ctime" - time of last change

dio_stat