Where are the man pages for c++ headers imported from C (e.g. cmath)?
Peng Yu
pengyu.ut at gmail.com
Wed Sep 7 01:44:51 UTC 2011
On Tue, Sep 6, 2011 at 12:00 AM, Nils Kassube <kassube at gmx.net> wrote:
> Peng Yu wrote:
>> Are there man pages for header files like cmath and cstdio available
>> on ubuntu? I'm getting tied of always going online.
>
> Install the package "manpages-dev".
I see something like. This is for math.h. Although cmath is almost the
same as math.h, I think that there might be subtle difference. Is
there a manpage for cmath?
LOG(3)
Linux Programmer's Manual
LOG(3)
NAME
log, logf, logl - natural logarithmic function
SYNOPSIS
#include <math.h>
double log(double x);
float logf(float x);
long double logl(long double x);
Link with -lm.
--
Regards,
Peng
More information about the ubuntu-users
mailing list