From owner-freebsd-hackers Fri Jan 5 11:34:55 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA26073 for hackers-outgoing; Fri, 5 Jan 1996 11:34:55 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA26061 for ; Fri, 5 Jan 1996 11:34:50 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA02584; Fri, 5 Jan 1996 12:32:41 -0700 From: Terry Lambert Message-Id: <199601051932.MAA02584@phaeton.artisoft.com> Subject: Re: OK, I'm stumped... To: bde@zeta.org.au (Bruce Evans) Date: Fri, 5 Jan 1996 12:32:41 -0700 (MST) Cc: bde@zeta.org.au, terry@lambert.org, hackers@freebsd.org In-Reply-To: <199601050758.SAA16837@godzilla.zeta.org.au> from "Bruce Evans" at Jan 5, 96 06:58:19 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk > >> char buf[SMALLSIZE]; > >> ... > >> r = uiomove(buf, sizeof buf, uio); > > >I agree that this is a possibility. > > >But I didn't see this usage in the kernel. Did I not look hard enough? > > See almost any cdev driver, e.g., tty.c:ttwrite() moves things 100 bytes > at a time. Ah. Never mind. Occupational hazard of the file system geek... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.