diff options
Diffstat (limited to '')
-rw-r--r-- | test.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +/* See LICENSE file for copyright and license details. */ +#include <sys/prctl.h> + +int +main(void) +{ + int val = 0; + return prctl(PR_GET_PDEATHSIG, &val) || !val; +} |