9fans archive / 1998 / 04 / 49 /    prev next

From: Elliott.Hughes@gen... Elliott.Hughes@gen...
Subject: [9fans] allowing long file names with a space too
Date: Tue, 14 Apr 1998 11:52:54 +0200 (CEST)

> Tclwalk tag[2] fid[2] newfid[2] name[<=256]
> Twalk tag[2] fid[2] name[<=256]
> Tcreate tag[2] fid[2] name[<=256] perm[4] mode[1] [move name to the end?]
> Rstat tag[2] fid[2] stat[<=344]
> Twstat tag[2] fid[2] stat[<=344]
> 
> [why is there a pad[1] in Twrite and Rread?]

So that 1 + 2 + 2 + 2 + 1 = 8 in Rread's case, and
1 + 2 + 2 + 8 + 2 + 1 = 16 in Twrite's? This puts the data on
a nice boundary (assuming that the message was aligned).

-- 
http://users.ch.genedata.com/~enh/