From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3427729765b4e88fb0db2d794e3cdbc6@cat-v.org> To: 9fans@cse.psu.edu Subject: Re: [9fans] 9p and how can I know when a write is finished Date: Wed, 1 Mar 2006 16:20:27 +0100 From: uriel@cat-v.org In-Reply-To: <20060301151548.GD31173@wmii.de> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 07336b8a-ead1-11e9-9d60-3106f5b1d025 > On Wed, Mar 01, 2006 at 03:29:58PM +0100, Gabriel Diaz wrote: >> Hello, >> >> I'm not sure if I'm misunderstanding this but, >> i need to write to a ctl file some commands, >> so to parse them correctly i need the complete >> command (commands file should be 10k or so, but >> may be more). >> >> How can I know when a write is finished to start >> parsing the commands? (i mean, if occurs >> that the write is done with multiple requests ). >> >> Twrite tag[2] fid[4] offset[8] count[4] data[count] >> >> Is there any special mark on those fields? what is >> the man page i am missing? > > As far as I understood, you wait until Tclunk. Wrong, the Tclunk is not warranteed to arrive any time soon. Tclunk != close() uriel