chickadee » 9p » wstat

wstat message fid-value reply! error!procedure

This corresponds to a 9P Twstat request. The message is a list of ten elements:

  • The fid of the file
  • The QID of the file
  • The permissions of the file
  • The atime of the file
  • The mtime of the file
  • The size of the file
  • The name of the file
  • The user name of the file
  • The group name of the file
  • The name of the user who last modified the file

fid-value is the value bound to the fid.

If the wstat succeeds, reply! should be called with a list of no elements.

If if fails, error! should be called with a suitable error string.

The default implementation calls error! with an error message indicating that wstat is not supported.