| To: | Carsten Langgaard <carstenl@mips.com> |
|---|---|
| Subject: | Re: pread and pwrite |
| From: | Ralf Baechle <ralf@oss.sgi.com> |
| Date: | Wed, 17 Jul 2002 15:59:30 +0200 |
| Cc: | "H. J. Lu" <hjl@lucon.org>, linux-mips@oss.sgi.com |
| In-reply-to: | <3D3532FB.E227A5AD@mips.com>; from carstenl@mips.com on Wed, Jul 17, 2002 at 11:03:55AM +0200 |
| References: | <3D3532FB.E227A5AD@mips.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5.1i |
On Wed, Jul 17, 2002 at 11:03:55AM +0200, Carsten Langgaard wrote: > > Here there is some checking for sane values and a proper error value is > return. > I guess this routine is replaced, if we have the syscall implemented > with the sysdeps/unix/sysv/linux/mips/pread.c file. > Here there is no check for sane values, is there any reason why ? > The same thing goes for pwrite. The kernel does it's own error checking. No need to duplicate that in userspace. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Indy Composite video input, Mark Langlois |
|---|---|
| Next by Date: | Re: Indy Composite video input, Guido Guenther |
| Previous by Thread: | pread and pwrite, Carsten Langgaard |
| Next by Thread: | Re: pread and pwrite, Carsten Langgaard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |