I am wondering where the implementations (.c or .cpp files) are in the Linux system for the core header files. For example, where is the implementation of sys/socket.h stored?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The implementation is in GNU libc. You can browse GNU libc sources or download them from gnu.org
Some useful links are in the answer to “Where can I browse the source code of libc online?“