[Top] [All Lists]

Re: pread and pwrite

To: Carsten Langgaard <>
Subject: Re: pread and pwrite
From: Ralf Baechle <>
Date: Wed, 17 Jul 2002 15:59:30 +0200
Cc: "H. J. Lu" <>,
In-reply-to: <>; from on Wed, Jul 17, 2002 at 11:03:55AM +0200
References: <>
User-agent: Mutt/
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


<Prev in Thread] Current Thread [Next in Thread>