This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: kill function
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Alistair McEwan'" <Alistair dot McEwan at comlab dot ox dot ac dot uk>
- Subject: RE: kill function
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Mon, 7 Jul 1997 23:06:31 +0400
- Encoding: 20 TEXT
Alistair McEwan wrote:
>
> Does anyone know if there is an equivalent of the kill function
> (sending signals) in Win32?
>
There is no unix signals equivalents in win32. Cygwin.dll uses window
messages to emulate signals.
> This is assuming that I have a handle to a process and the pid of that
> process (I can use either/or) and I want to send it a signal.
You can only terminate the process with TerminateProcess() syscall, or wait
for a process exit. Using a debug API you can read/write process's
memory/context. Will it help you?
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".