|
Pid from Siginfo Structure
|
03/27/2019 3:55 AM
post119607
|
Pid from Siginfo Structure
Hi,
We are trying to create crash by calling below line in our code,
int var = 1/0;
Then trying get "pid" from "siginfo_t" structure, but it's giving pid as 8.
Can you anyone please help us to get correct pid of crashed process?
Thank you in Advance...
Thanks & Regards,
Sai
|
|
|