Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <signal.h> int kill(int pn, int sig);
The only difference is that the | ||
Return val. | 0 -1 | The signal was sent successfully. The signal could not be sent, because
In addition, | |
Example | A program that aborts itself. #include <signal.h>
int main(void)
{
for(;;)
kill(0, SIGKILL);
return 0;
}
| ||
See also | alarm, raise, signal | ||