This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: kill function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]