Saturday, May 4, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 24316  / 2 Years ago, tue, october 18, 2022, 7:24:32

I'm a newbie in Linux programming. I found that the way to view the list of system calls in Linux via command-line is:



man syscalls


But now I want to view the list of c library functions, how can I do that? Which command will help me list the c library functions? And another question, where are system calls and c library functions manual pages located? Thank you.


More From » command-line

 Answers
6

There is an offline documentation browser that I have found helpful, called Zeal, that is similar to Dash.


Other options:


whereis glibc

or


dpkg -L *libc*

And open the files in a text editor.


To recursively search inside files for string:


grep -R "some string" /path/to/includes

Some paths to consider:



  • /usr/local/include

  • /usr/target/include

  • /usr/include


Other options may include:



[#27810] Thursday, October 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quivedge

Total Points: 223
Total Questions: 116
Total Answers: 124

Location: Slovenia
Member since Wed, Apr 6, 2022
2 Years ago
;