Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
user@ubuntu:~/Documents/C$ man host_ent
No manual entry for host_ent

How to install the manpage for host_ent or in_addr under ubuntu?

share|improve this question

migrated from stackoverflow.com Jul 19 '11 at 14:11

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 2 down vote accepted

structs are not documented in their own man pages in Linux, but rather as part of a man page in section 2/3/3p. The package containing the gethostbyname(3) and inet(3) man pages is manpages-dev.

share|improve this answer
    
May you tell me whether there is a standard way to know which man page I should look for? For example, sometimes I have to use man inet while other time I have to use man 3 inet. Or simply, I just have to use brute-force to find the information. –  q0987 Jul 17 '11 at 15:53
    
I cheat and use Google. >.> –  Ignacio Vazquez-Abrams Jul 17 '11 at 15:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.