chickadee » 9p » open

open message fid-value reply! error!procedure

This corresponds to a 9P Topen request. The message is a list of two elements, the fid of the file and the requested access mode. fid-value is the value bound to the fid.

If the open operation succeeds, reply! should be called with a list of two elements, the first being the QID of the newly opened file and the second being the desired I/O block size in bytes.

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