开发者

Where is BSD socket functions defined on Linux?

开发者 https://www.devze.com 2023-01-05 21:19 出处:网络
What is the library f开发者_开发知识库ile name where BSD\'s socket(), recv(), send(), etc defined on Linux OS? (I\'m using RedHat). Is the file located in /usr/lib?They\'re in glibc (libc.so/libc.a).

What is the library f开发者_开发知识库ile name where BSD's socket(), recv(), send(), etc defined on Linux OS? (I'm using RedHat). Is the file located in /usr/lib?


They're in glibc (libc.so/libc.a). You don't need to link against anything special to use these functions on Linux.

0

精彩评论

暂无评论...
验证码 换一张
取 消