Forum und email

dio_stat

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

dio_stat — Liefert Statusinformationen über eine Datei

Beschreibung

array dio_stat ( resource $fd )

Die Funktion fstat() gibts ein assoziatives Array zurück, welches Informationen über die Datei fd enthält. Das Array enthält folgende Einträge:

  • "device" - Device

  • "inode" - Inode

  • "mode" - Modus

  • "nlink" - Anzahl Links

  • "uid" - Benutzer Id

  • "gid" - Gruppentyp

  • "device_type" - Device Typ

  • "size" - Grösse in Bytes

  • "blocksize" - Blockgrösse

  • "blocks" - Anzahl allocierter Blöcke

  • "atime" - Letzter Zugriff

  • "mtime" - Letze Modifikation

  • "ctime" - Letzte Änderung

Im Fehlerfall liefert dio_stat() NULL zurück.