Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everyone, I was wondering if there was a package that would give me man pages for the C standard library (I use musl, but generics would be best if there would even be a difference). I am not wanting the biggest, largest package; I myself am big on minimalism. Thanks in advance.
I haven't used MUSL and read of its site this morning says it is intended to be light-weight so it may be it doesn't have a package for man pages like other distros.
I don't really understand what do you need:
man 3 printf
man 3 <c standard library function>
should work
It won't if he hasn't got glibc installed. Maybe, as suggested by MensaWater, musl doesn't come with man pages.
Two possibilities come to mind:
1) Go to the GNU site and download the C library manual.
2) Download glibc source and just build and install the man pages.
I don't really understand what do you need:
man 3 printf
man 3 <c standard library function>
should work
Quote:
Originally Posted by hazel
It won't if he hasn't got glibc installed.
I actually prefer to get the man pages from the machine where I'm using the tools to build my code from. The reason being is that the man pages should correspond with the library versions which I have installed on that machine. Yes, this becomes complicated when you consider that you may be cross compiling, but still when you have the cross compilation libraries installed, you also get the man pages for it.
There are sometimes subtle differences with various packages that may be privately provided by a manufacturer. Way back when, things like busybox did not use all conventional capabilities for certain functions, so if you had something which was being provided by busybox, you needed to understand that it wouldn't do all the standard things, if that happened to apply there.
Mixed bag, I know, but if I'm compiling on a Linux system, using a certain set of tools, I view the man pages I need "on" that system.
Hello everyone, I was wondering if there was a package that would give me man pages for the C standard library
The C standard library, of course, is STANDARD, so all of the man pages in the (2) and (3) sections will apply to it. You can get a standard set of man pages from http://mirrors.edge.kernel.org/pub/l...ocs/man-pages/.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.