> I am trying to find out where the function socket() is actually defined.
sys/kern/uipc_syscalls.c
cscope is your friend.
> Moreover is see __P with all the function prototypes. Can anyone
> tell me what do they mean. I am right now assuming for my work that
> they just mean blank.
Bad assumption. Depending on the compiler, __P either returns the
argument passed to the macro or '()'. This is because pre-ANSI C
didn't support function prototypes.
pre-ANSI
int foo();
ANSI
int foo(char *, int *, int, int);
Again, cscope is your friend.
-JohnG
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message