[Linux-ia64] Re: memcpy failure

From: Christian Cotte-Barrot <Christian.Cotte-Barrot_at_bull.net>
Date: 2002-11-14 20:01:44
"Chen, Kenneth W" wrote:
> 
> The retrun value for memcpy doesn't follow the user space memcpy exactly.
> kernel memcpy always return 0.
> - Ken
> 

But memcpy from memcpy.S is returning a pointer to dest area.
That would lead to quasi non-portable code when the return from memcopy
is correctly checked depending on which memcopy function is addressed.
But BTW, is it meaningful to take into account a return code
that is always the same and which value is known in advance ?
Does memcpy suppose to failed in some cases ?
Received on Thu Nov 14 01:01:34 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST