According to this
SIGINT is generally used by the user Has / reason How can I do a SIGINT in C ++? I have seen an example using the kill (pid, SIGINT); But instead I make it another way, apart from this, I am using windows.
define C8 and C 99 () in sign.h:
#include & lt; Signal.h & gt; Int'l (int sig); This function sends a signal to the calling process, and
is equivalent to getpid (), sig; If the platform supports threads, call
is equivalent to pthread_kill (pthread_self (), sig); Return value is 0 on success, otherwise nonzero.
Comments
Post a Comment