where is the system call code

Sasha Sirotkin demiurg@femtolinux.com
Thu Apr 29 18:33:00 GMT 2010


Hi.

I'm trying to understand how system calls are implemented in glibc.
For instance, I tried to find the recv() implementation, but only
found this:
ssize_t
__recv (fd, buf, n, flags)
     int fd;
     void *buf;
     size_t n;
     int flags;
{
  __set_errno (ENOSYS);
  return -1;INLINE_SYSCALL
}
weak_alias (__recv, recv)

Where is the actual recv code, the code that calls INLINE_SYSCALL

Thanks.



More information about the Libc-help mailing list