this post was submitted on 03 Oct 2023
8 points (100.0% liked)

Linux

5186 readers
137 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 

How do you discover system builtins for C functions? The man pages for the C functions on Linux are great, but only if you know the name of the function. Is there a way to see a detailed table of contents, or to browse Manpages on a Linux distro?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago

ls /usr/share/man/man?/* will show you all the man pages on your system. I used to pick ones at random.

Originally there were a number of manuals. Manual 1 had user commands. Manual 2 had system calls. Etc. You can type man NUMBER intro to read about that manual. You can also use man -k or appropos but I've also just used grep. These days they're compressed so zgrep.