List of UNIX system calls?

I have a purpose when I need to use some system calls on UNIX, for example mktime () and fnmatch (), to do some operations. We are only given the names of the manual pages to find them.

Now this is normal for an appointment. But in the future, when I do UNIX programming, I probably don’t know the exact name (I would never know that fnmatch exists without knowing its name).

So the question is: how can I get an exhaustive list of all UNIX system functions? I really don't care if it is classified or sorted (although it would be nice), but I'd like the list to include descriptions so that it is searchable. That way, when I need a function, I can do a few searches to find potential candidates, and then I can help them find the exact use.

+4
source share
3 answers

There is also a useful utility called "apropos"

$ whatis apropos apropos (1) - search the manual page names and descriptions $ apropos filename ... fnmatch (3) - match filename or pathname ... 
+5
source

System calls are described in section 2 of the man documentation. Depending on your version of Unix, you should find these pages in the man data directory.

On Linux, this directory is /usr/share/man/man2 ; Your version of Unix may vary. Also man man should tell you what is in other sections.

+4
source

I used part of the "Authorized Guide to Version 3 of the Unified UNIX Specification" for storing a hard copy - the table shows the presence of calls in a variety of standards, which was extremely useful for supporting several purposes.

+1
source

Source: https://habr.com/ru/post/1336486/


All Articles