I want to obtain some processes states RECEIVE, DEAD, REPLY (like pidin)
I wrote some code
memset(&my_status, 0x0, sizeof (my_status));
sts = devctl( fd, DCMD_PROC_STATUS, &my_status, sizeof(my_status), NULL);
devctl return state is OK but my_status.state is always 0 which mean DEAD
Where is the problem ?