DIO_STAT(3) 1 DIO_STAT(3)
dio_stat - Gets stat information about the file descriptor fd
SYNOPSIS
array dio_stat (resource $fd)
DESCRIPTION
dio_stat(3) returns information about the given file descriptor.
PARAMETERS
o $fd
- The file descriptor returned by dio_open(3).
RETURN VALUES
Returns an associative array with the following keys:
o "device" - device
o "inode" - inode
o "mode" - mode
o "nlink" - number of hard links
o "uid" - user id
o "gid" - group id
o "device_type" - device type (if inode device)
o "size" - total size in bytes
o "blocksize" - blocksize
o "blocks" - number of blocks allocated
o "atime" - time of last access
o "mtime" - time of last modification
o "ctime" - time of last change
On error dio_stat(3) returns NULL.
PHP Documentation Group DIO_STAT(3)