Hi,

    I want to terminate a parent process that attach several shared
memory segments
with kill(pid, SIGTERM) but it fails to terminate.
    Even if I give the command from command line it fails to terminate.
    If I give kill -9 pid it terminates but the shred memory segments
remains.
    Why I cannot terminate it with  SIGTERM signal?

    "....
    status = kill ((pid_t)pid, SIGTERM);
     printf("status = %d\n", status);
    ...."
The status is 0. The pid is correct.

TIA,
Bubulac Tatiana.





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to