Where is the manpage of M_PI?

Nils Kassube kassube at gmx.net
Thu Jun 11 04:49:26 UTC 2015


Nils Kassube wrote:
> Peng Yu wrote:
> > > Not exactly, but you can use
> > > 
> > > man math.h
> > > 
> > > if you have the package "libc6-dev" installed.
> > 
> > I don't find `man math.h`. Where is it?
> > 
> > ~$ sudo apt-get install libc6-dev
> > 
> > ~$ man math.h
> > No manual entry for math.h
> 
> I think that's a bit strange. Which version of Ubuntu did you try? On
> my 14.04 machines I can see this:
> 
> ~/ > whereis math.h
> math: /usr/include/math.h
> ~/ > apt-file search /usr/include/math.h
> libc6-dev: /usr/include/math.h

Sorry, that was nonsense - maybe I shouldn't do this too early in the 
morning …

Of course you need /usr/share/man/man7/math.h.7posix.gz which is in the 
package "manpages-posix-dev".


Nils






More information about the ubuntu-users mailing list