C man pages in NixOS

Table of Contents

Well, this one is simple. I was reading Beej’s guide to C programming, and learned it’s possible to read C compiler’s documentation using man pages like:

man 3 printf

But to my surprise I got:

❯ man 3 printf
No manual entry for printf in section 3

And it turned out to enable it, I needed to, add the following packages to my system:

glibcInfo  # look out for the capital `I`
man-pages

Feedback