What is counterpart of SIGKILL(in POSIX) in WIN32
What is c开发者_运维百科ounterpart of SIGKILL(in POSIX) in WIN32. VS cannot recognize SIGKILL.
API function TerminateProcess is probably closest. SIGKILL is special anyway in POSIX and not really a signal. You need to open the process handle with OpenProcess and close it afterwards with CloseHandle.
精彩评论