I'm writing embedded C software for a system that does not run on an OS. I want to be able to use netdb.h's gethostbyname() function. It is my understanding that whatever library it is part of is included in the Linux OS. Is it possible to include that library into my project? Or is it dependent on the OS?
If I can include it, where can I get the complete library?