You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
200 B

#include <signal.h>
#include <unistd.h>
#include "stack-fcall.h"
int f3(int i)
{
static int pid;
switch (i) {
case 1:
return kill(pid, SIGURG);
default:
return (pid = getpid()) + i;
}
}