Исправление SZT, (текущая версия) :
man ioctl
Думаю, как-то так:
#include <sys/ioctl.h>
...
ioctl(3, 0x4040462e, 0xbec3aac0);
readlink /proc/*тут_PID_процесса*/fd/3
Исправление SZT, :
man ioctl
Думаю, как-то так:
#include <sys/ioctl.h>
...
ioctl(3, 0x4040462e, 0xbec3aac0);
Исходная версия SZT, :
man ioctl
Думаю, как-то так:
#include <sys/ioctl.h>
...
ioctl(3, 0x4040462e, 0xbec3aac0);