Add functions for socketcall system call
PowerPC uses the socketcall system call, the arg0 is used to select the operation (socket, recv, send...).
This produces that if the app is using such system call the fds are not registered.
It may appear on other platforms also. The code is #ifdef.
Edited by Ramon Nou