From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 1 Mar 2006 16:15:48 +0100 From: "Anselm R. Garbe" To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] 9p and how can I know when a write is finished Message-ID: <20060301151548.GD31173@wmii.de> References: <82c890d00603010629oe7c69ddr5ef809a598ce28eb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82c890d00603010629oe7c69ddr5ef809a598ce28eb@mail.gmail.com> User-Agent: Mutt/1.5.9i Topicbox-Message-UUID: 071a6b30-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. Regards, -- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361