BSD sockets with sys_socketcall
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,..)?
Also, why don't I see _syscallN() macro for socketcall or any other BSD socket calls?
I'd greatly appreciate your help.
Please CC to [email protected] as I don't subscribe to the mailing list.
Thanks
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Quoted 4 lines · Prasad Koya
How does
socket(),bind()and other BSD socket API calls in user applications are handled by systemsocketcall(). Does the compiler (say gcc) substitutesocket()in user app withsocketcall(SYS_SOCKET,..)?
You are using libc wrappers which translate the BSD API to Linux kernel ABI.
Quoted 1 line
Thanks
/Matti Aarnio