From owner-freebsd-hackers Wed Jan 21 15:41:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11608 for hackers-outgoing; Wed, 21 Jan 1998 15:41:25 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cheops.anu.edu.au (avalon@cheops.anu.edu.au [150.203.76.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11488 for ; Wed, 21 Jan 1998 15:41:08 -0800 (PST) (envelope-from avalon@coombs.anu.edu.au) Message-Id: <199801212341.PAA11488@hub.freebsd.org> Received: by cheops.anu.edu.au (1.37.109.16/16.2) id AA116225977; Thu, 22 Jan 1998 10:39:37 +1100 From: Darren Reed Subject: Re: uiomove() To: daniel_sobral@voga.com.br Date: Thu, 22 Jan 1998 10:39:37 +1100 (EDT) Cc: hackers@FreeBSD.ORG In-Reply-To: <83256593.007383CB.00@papagaio.voga.com.br> from "daniel_sobral@voga.com.br" at Jan 21, 98 06:06:08 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk In some mail from daniel_sobral@voga.com.br, sie said: > > > Still more questions. I'm a bottomless pit of them. :-) > > Can I make multiple uiomove()'s? Or, more to the point (as I should have > done, anyway :), I'm using a circular buffer, and this means some read()'s > or write()'s may only be completed up to the size requested by making two > consecutive uiomove()'s. How can I do this? Does uiomove()'s update uio > structure, should I do it myself, or what? uiomove() may be called multiple times - it updates the uio struct itself.