is memcpy a system call?

Ezequiel Garcia elezegarcia at gmail.com
Fri Jun 8 18:32:31 EDT 2012


On Fri, Jun 8, 2012 at 12:11 PM, J.Hwan Kim <frog1120 at gmail.com> wrote:
> Hi, everyone
>
> Is memcpy a system call?
>

"Use the force, read the source"

uclibc:
http://git.uclibc.org/uClibc/tree/libc/string/generic/memcpy.c

glibc:
http://sourceware.org/git/?p=glibc.git;a=blob;f=string/memcpy.c;h=e167e85d7b31bda4e85ec7836631da2a15acf860;hb=c0da14cdda1fa552262ce3624156194eef43e973

Which means: No, memcpy (meaning the userspace function that gets
included by "string.h") is *not* a system call.

Hope this helps,
Ezequiel.



More information about the Kernelnewbies mailing list