5 proc version(msize, version) {
6 send(Tversion, notag, msize:u32, version:str)
9 proc attach(fid, afid, uname, aname) {
10 send(Tattach, iota(), fid:u32, afid:u32, uname:str, aname:str)
13 proc walk(fid, newfid, ...) {
14 send(Twalk, iota(), fid:u32, newfid:u32, vargs:u16, ...)
17 proc open(fid, mode) {
18 send(Topen, iota(), fid:u32, mode:u8)
22 send(Tclunk, iota(), fid:u32)
29 proc mount(fid, path) {
30 version(msize, np2000)
37 # m.version == version
40 attach(fid, nofid, "op", path)
56 assert m.type == Rerror
57 debug("got expected error", m)