ファイルポインタftpによりオープンされたファイルの統計情報を取得し ます。この関数は関数stat()に似ていますが、 ファ イル名の代わりにオープンされたファイルポインタを指定するところが 異なります。
次の要素を有するファイルの統計情報の配列を返します。
device
inode
number of links
user id of owner
group id owner
device type if inode device *
size in bytes
time of last access
time of last modification
time of last change
blocksize for filesystem I/O *
number of blocks allocated
この結果はキャッシュされます。より詳細な情報については、 clearstatcache()を参照下さい。