This is a discussion on How to obtain a list of all system call or library functions within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, Is there a way to list all system calls or all functions in say libc or libsocket in ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Is there a way to list all system calls or all functions in say libc or libsocket in AIX. Basically I am looking for an equivalent of man -s 2 Intro or man -s 3 Intro on Solaris. If the above is not available, is there any other way to obtain such a listing. Thanks and Regards, M Shetty |
| |||
| In article <bfbb8fd4.0406030745.61c52ef2@posting.google.com >, mshetty wrote: > Hi, > > Is there a way to list all system calls or all functions in say libc > or libsocket in AIX. > > Basically I am looking for an equivalent of man -s 2 Intro or man -s 3 > Intro on Solaris. > > If the above is not available, is there any other way to obtain such a > listing. > > Thanks and Regards, > M Shetty $ nm /usr/lib/libc.a | grep ' T ' |
| |||
| Mike <mikee@mikee.ath.cx> wrote in message news:<10buobep4dg5na6@corp.supernews.com>... > In article <bfbb8fd4.0406030745.61c52ef2@posting.google.com >, mshetty wrote: > > Hi, > > > > Is there a way to list all system calls or all functions in say libc > > or libsocket in AIX. > > > > Basically I am looking for an equivalent of man -s 2 Intro or man -s 3 > > Intro on Solaris. > > > > If the above is not available, is there any other way to obtain such a > > listing. > > > > Thanks and Regards, > > M Shetty > > $ nm /usr/lib/libc.a | grep ' T ' Thanks a lot for the reply. Any inputs on how I could do it for system calls? Another thing that I observed was that most calls that appear as system calls on other platforms are present in libc on AIX. I could only find 2 or 3 system calls on the net.. getmsg, putmsg, putpmsg etc... Are there more? Besides I couldn't find the man pages... If I could get some help in locating the Man pages of Section 2... Thanks and Regards, M Shetty |
| ||||
| mshetty wrote: > Any inputs on how I could do it for system calls? /usr/lib/syscalls.exp for both 32-bit and 64-bit system calls. > Another thing that I observed was that most calls that appear as > system calls on other platforms are present in libc on AIX. Because on AIX the system call interface is at the system library layer, _not_ the kernel. > Besides I couldn't find the man pages... If I could get some help in > locating the Man pages of Section 2... We don't have a section 2. We have functions, and we have commands, and functions are spread out through several locations. Documentation can be found here: http://www-1.ibm.com/servers/aix/library/ -- Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE __________________________________________________ ______________________ |