Re: BSD sockets with sys_socketcall

Matti Aarnio (matti.aarnio@zmailer.org)
Wed, 27 Jun 2001 23:52:53 +0300


On Wed, Jun 27, 2001 at 12:23:27PM -0700, Prasad Koya wrote:
> How does socket(), bind() and other BSD socket API
> calls in user applications are handled by system
> socketcall(). Does the compiler (say gcc) substitute
> socket() in user app with socketcall(SYS_SOCKET,..)?

You are using libc wrappers which translate the BSD API
to Linux kernel ABI.

> Thanks

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/