Date: Thu, 4 Jan 1996 16:46:09 +1100 From: Bruce Evans <bde@zeta.org.au> To: hackers@freebsd.org, terry@lambert.org Subject: Re: OK, I'm stumped... Message-ID: <199601040546.QAA15201@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>Why would anyone ever specify a second argument to uiomove() that >was less than the largest iov->iov_len for the iov list in the >uio structure that was passed in? Because iov->iov_len might be as large as INT_MAX and it may be hard to allocate a large enough kernel buffer. char buf[SMALLSIZE]; ... r = uiomove(buf, sizeof buf, uio); Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601040546.QAA15201>