Is there a function manual and reference under linux?
Is there a function manual and reference under linux?
hi
you could use the command 'man'
like
$man printf
you mean something like that?
encrypted
"man printf" has always worked for me on linux machines. You should just be able to type the "man name-of-command" and get what you're looking for.
starX
www.axisoftime.com
yeah ok,
so man 3 printf it is
encrypted
Acually its funny you mentioned that because yes, I did try it before posting, and I've tried your way and get the same result. Well, actually first it tells me it can't find an entry for three and then proceeds to give me the system function. If I want to look at the c library functions for any command, I need to specify the section, followed by the letter c, and doing this requires a specific option passed to man.
In this case "man -s 3c printf" gets me the printf family of functions. But as I said above, "man 3 printf" doesn't give me anything but the printf program and the error message.
starX
www.axisoftime.com
Like any good *NIX util, its behavior is changable by a env. variable. It describes the order in which it should search the sections. man man to read up.
> >In this case "man -s 3c printf" gets me the printf family of functions.
Good call. Yeah, you're absolutely right, that is on a Solaris box. You're command works on my Linux box. My bad.
starX
www.axisoftime.com