Subject: Re: question regarding the socket() function.
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 03/13/2001 02:30:32
In article <3AAD85EC.firstname.lastname@example.org>,
Shankar Agarwal <email@example.com> wrote:
>I am trying to find out where the function socket() is actually
>defined.I did a search on the sources and i kind of could not locate
>function. Also i could not find the code for the function bind()
>connect(). I think i might be missing something here as i am directly
>looking for a function with a name socket, bind and connect. So if that
>is wrong then i will be grateful to you if you let me know the correct
>way to do it. I am using cscope to search for this purpose.
These are system calls; they are implemented as assembly language stubs
in the Makefile in /usr/src/lib/libc/sys.