in reply to Re^3: Need SYS_sendmsg and SYS_recvmsg values from an AIX box
in thread Need SYS_sendmsg and SYS_recvmsg values from an AIX box
This is great Laurent_R.
sys/socket.ph: eval 'sub sendmsg () { &nsendmsg;}' unless + defined(&sendmsg); sys/socket.ph: eval 'sub recvmsg () { &nrecvmsg;}' unless + defined(&recvmsg);
I was hoping that the glob wildcard */*.ph would pick up the relevant bits, but did not find the numeric values for nsendmsg and nrecvmsg. The following 3 liners pick up syscall.ph from /tmp/phfiles (hoping you still have this).
require '/tmp/phfiles/sys/syscall.ph'; print "SYS_sendmsg: ", SYS_sendmsg(), "\n"; print "SYS_recvmsg: ", SYS_recvmsg(), "\n";
I wished I had provided the 3 liners requiring sys/syscall.ph from /tmp/phfiles.
Thank you, Mario
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Need SYS_sendmsg and SYS_recvmsg values from an AIX box
by Laurent_R (Canon) on Aug 20, 2015 at 15:44 UTC | |
by marioroy (Prior) on Aug 20, 2015 at 16:32 UTC |