Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .