This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

where is the system call code


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]