linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SIGTERM
@ 2002-05-21 10:51 Bubulac Tatiana
  2002-05-21 14:25 ` SIGTERM Glynn Clements
  0 siblings, 1 reply; 4+ messages in thread
From: Bubulac Tatiana @ 2002-05-21 10:51 UTC (permalink / raw)
  To: linux-c-programming

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-05-22 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21 10:51 SIGTERM Bubulac Tatiana
2002-05-21 14:25 ` SIGTERM Glynn Clements
2002-05-22  6:20   ` SIGTERM Bubulac Tatiana
2002-05-22 14:18     ` SIGTERM Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).