I want to view function man pages in gcc on Ubuntu.
For instance, say I want to look up a certain function accept(), I can issue a command man acccept, which gives me the function definition.
However, for other C library functions like mknod() issuing commands like man mknod results in the man page of the UNIX command mknod (rather than the C function mknod) showing up. Is there any way to view the man page of C functions like mknod() whose names coincides with UNIX commands?
Thanks!
mknod()the C function lives in section 2 of the man pages. You can view it using:In general things like this are likely to live in either section 2 (system calls) or section 3 (library calls)