Another way to do it is to grep sqrt * in /usr/include if your function
doesn't have a man page. (Does EVERY function in /usr/include have
one??)

"Lawrence J. Huang" wrote:
> 
> Dah, sorry about that last one.. hit the wrong key.
> 
> You can find out through the manpages... try doing "man math" and it will
> give you an entry for the math.h header file and what functions are
> defined in there.
> 
> It works the other way around, too.  You can do "man sqrt" and it'll tell
> you what header file it's located in.
> 
> On Sat, 16 Oct 1999, Faisal Naeem wrote:
> 
> > Hey Guys,
> >        I was wondering how can I find out in g++ what functions are in
> > a particular header file. I mean sqrt() is in math.h . If I didnt know
> > that how would I go about discovering that ?
> > Thnx
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to