kill function

Sergey Okhapkin sos@prospect.com.ru
Mon Jul 7 12:07:00 GMT 1997


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".



More information about the Cygwin mailing list