RE: C manual
I'm not near my machine at the moment, I will check the exact packages later,
but under linux you have 3 options
Traditionally, there is the man page option for all c functions. The two
commands are man and appropos. Appropos
will give you a list of man pages containg to requested search value, c
function are usually under group 3 sometimes
with some subgroup (such as 3x), so for printf you'll have to do something like
"man 3 printf" or "man 3x printf". Just
"man printf" will give you the first maching man page, which may or may not be
what you need, depending on the command.
The man pages are probably in the package manpages-dev
Next there is an info reference. It's in the package glibc-doc-reference in
testing and up or glibc-doc in stable (licensing issues
it turned non-free). The package contains both an info and an html reference.
Not sure but you probably should do "info libc".
Last (AFAIK) there is a package called c-cpp-reference which has a reference for
c and c++ functions. It's in
html format and is primarily targeted at kdevelop but can work with a regular
> -----Original Message-----
> From: Ron Johnson [mailto:email@example.com]
> Sent: Wednesday, October 04, 2006 4:01 AM
> To: firstname.lastname@example.org
> Subject: Re: C manual
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 10/03/06 20:45, Brad Brock wrote:
> > What package should I install to have a C manual?
> C is a large topic. What kind of C manual do you want?
> $ apt-cache search gcc | sort | grep doc cpp-2.95-doc -
> Documentation for the GNU C preprocessor (cpp) cxref -
> Generates latex and HTML documentation for C programs
> g77-2.95-doc - Documentation for the GNU Fortran compiler
> (g77) gcc-2.95-doc - Documentation for the GNU compilers
> (gcc, gobjc, g++) gcc-3.3-doc - Documentation for the GNU
> compilers (gcc, gobjc, g++) gcc-3.4-doc - Documentation for
> the GNU compilers (gcc, gobjc, g++) gcc-4.0-doc -
> Documentation for the GNU compilers (gcc, gobjc, g++)
> gcc-4.1-doc - documentation for the GNU compilers (gcc,
> gobjc, g++) gcc-4.2-doc - Documentation for the GNU compilers
> (gcc, gobjc, g++) gcc-doc - documentation for the GNU
> compilers (gcc, gobjc, g++) gcc272-docs - Documentation for
> the gcc compiler (gcc272).
> gpc-2.1-3.4-doc - Documentation for the GNU Pascal compiler
> (gpc) gpc-2.95-doc - Documentation for the GNU Pascal
> compiler (gpc) treelang-4.1-doc - documentation for the GNU Treelang
> - --
> Ron Johnson, Jr.
> Jefferson LA USA
> Is "common sense" really valid?
> For example, it is "common sense" to white-power racists that
> whites are superior to blacks, and that those with brown
> skins are mud people.
> However, that "common sense" is obviously wrong.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> -----END PGP SIGNATURE-----
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.