dio_stat
(PHP 4 >= 4.2.0, PHP 5 < 5.1.0)
dio_stat — 파일 설명자 fd에 대한 통계 정보를 가져옵니다.
설명
dio_stat(resource $fd
): array
dio_stat()는 주어진 파일 기술자에 대한 정보를 반환합니다.
매개변수
fd
- dio_open()에 의해 반환된 파일 설명자.
반환 값
다음 키가 있는 연관 배열을 반환합니다.
- "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()는 null
을 반환합니다.