Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 1998 14:46:48 +0900 (JST)
From:      ohashi@mickey.ai.kyutech.ac.jp (Takeshi Ohashi)
To:        hackers@FreeBSD.ORG
Cc:        daniel_sobral@voga.com.br
Subject:   Re: uiomove()
Message-ID:  <199801220546.OAA00696@atohasi.mickey.ai.kyutech.ac.jp>
In-Reply-To: Your message of "Thu, 22 Jan 1998 10:39:37 %2B1100 (EDT)". <199801212341.PAA11488@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

 >>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.

I wrote a driver which call uiomove() multiple times.
Please refer scc.c in PAO package.

 US - http://Makefile.ORG/FreeBSD/PAO/
 Japan - http://www.jp.FreeBSD.org/PAO/

I remeber that uiomove() in early 2.1.X was buggy. Nowadays it works fine.
--
Takeshi OHASHI



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801220546.OAA00696>