In the past, from time to time, while developing Linux software, I have noticed that some man pages which deal with developer documentation are missing on my systems.
This happens mainly on Debian systems. For example, yesterday I needed to use the fls() function, but man fls did not lead to anywhere, and despite researching and trying this and that, I still have no idea what I could do to install those missing man pages.
I believe that this problem is related to the fact that some functions which are available originally have been implemented on other platforms (for example, fls() seems to come from BSD. However, this finding did not help; there is no special POSIX or BSD developer documentation in Debian (at least, I couldn't find it).
Until now, I have worked around the problem by googling for man xxx, which worked (i.e. let me find the respective man page) every time. But this is crude and unsatisfying and makes me dependent on online services, so I think it's time to solve the problem.
How to install all of such documentation in recent Debian versions (notably the man pages which are not in the package glibc-doc)?