From: Bubulac Tatiana <bubulac@unidec.ro>
To: linux-c-programming@vger.kernel.org
Subject: SIGTERM
Date: Tue, 21 May 2002 13:51:09 +0300 [thread overview]
Message-ID: <3CEA269D.CF8569AE@unidec.ro> (raw)
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.
next reply other threads:[~2002-05-21 10:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-21 10:51 Bubulac Tatiana [this message]
2002-05-21 14:25 ` SIGTERM Glynn Clements
2002-05-22 6:20 ` SIGTERM Bubulac Tatiana
2002-05-22 14:18 ` SIGTERM Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CEA269D.CF8569AE@unidec.ro \
--to=bubulac@unidec.ro \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.