LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-07-2019, 10:19 PM   #1
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Posts: 188

Rep: Reputation: 13
C Manpages


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.

Last edited by FOSSilized_Daemon; 04-08-2019 at 07:40 PM.
 
Old 04-08-2019, 09:42 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,820
Blog Entries: 15

Rep: Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664Reputation: 1664
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.

There are man pages on line that are generally applicable to most distros. For Linux libc is a good start. You can find that man page at a couple of places:
http://man7.org/linux/man-pages/man7/libc.7.html
https://linux.die.net/man/7/libc

You can also see The GNU C Library Reference Manual
 
Old 04-08-2019, 10:09 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,505

Rep: Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314
I don't really understand what do you need:
man 3 printf
man 3 <c standard library function>
should work
 
Old 04-08-2019, 10:41 AM   #4
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware, OpenBSD
Posts: 3,945
Blog Entries: 11

Rep: Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176Reputation: 2176
Quote:
Originally Posted by pan64 View Post
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.
 
Old 04-08-2019, 10:47 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,505

Rep: Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314
They are also available online.
 
Old 04-08-2019, 11:00 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,316
Blog Entries: 13

Rep: Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703Reputation: 3703
Quote:
Originally Posted by pan64 View Post
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 View Post
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.
 
Old 04-08-2019, 03:24 PM   #7
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,136

Rep: Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641Reputation: 641
Quote:
Originally Posted by FOSSilized_Daemon View Post
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/.
 
Old 04-08-2019, 07:39 PM   #8
FOSSilized_Daemon
Member
 
Registered: Mar 2019
Posts: 188

Original Poster
Rep: Reputation: 13
Quote:
Originally Posted by pan64 View Post
I don't really understand what do you need:
man 3 printf
man 3 <c standard library function>
should work
That's how I check 'em! There are man pages for musl . Thank you, sorry I am new to having man pages for my coding language.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware manpages to PDA? loadedmind Slackware 2 07-29-2004 08:09 AM
HowTo create manpages sguenneur Linux - General 0 03-31-2004 10:41 AM
more about manpages bigjohn Linux - Newbie 1 03-04-2004 10:07 PM
manpages are your friend-but have you ever tired to print one ? bigjohn Linux - Newbie 3 03-01-2004 12:31 PM
manpages for C++ lib functions h/w Programming 2 02-16-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration