略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: dio_stat

2024-12-20

dio_stat

(PHP 4 >= 4.2.0, PHP 5 < 5.1.0)

dio_stat Gets stat information about the file descriptor fd

说明

dio_stat(resource $fd): array

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.
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.dio-stat.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3