PHP. Учебник. 2005

dio_stat

Пред.

След.

dio_stat

(PHP 4 >= 4.2.0, PECL)dio_stat -- Gets stat information about the file descriptor fd

Описание

array dio_stat ( resource fd )


- dio_stat() returns information about the given file descriptor.

Список параметров

-

fd

- The file descriptor returned by dio_open().

Возвращаемые значения

- Returns an associative array with the following keys:

- "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 On error dio_stat() returns NULL.

    Пред.

    Начало

    След.

    dio_seek

    Уровень выше

    dio_tcsetattr 22222

    Free Web Hosting