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
In reply to Re^4: Need SYS_sendmsg and SYS_recvmsg values from an AIX box
by marioroy
in thread Need SYS_sendmsg and SYS_recvmsg values from an AIX box
by marioroy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |