Is it possible to view structure definitions using man pages the way we can see function definitions in UNIX?
For instance, for network programming, we use a structure called struct sockaddr_in . Is there anyway to see how sockaddr_in has been defined in the library using man pages?
Any help will be appreciated! Thanks!
It depends on the function. For example, you can get the definition of
struct sockaddrby looking at the man page ofbind(2).Unfortunately, there’s no man page specifically for
struct sockaddr.Other ways to get this information would be to search for it the appropriate header files.