• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <signal.h>
2 #include <unistd.h>
3 
4 #include "stack-fcall.h"
5 
f3(int i)6 int f3(int i)
7 {
8 	static int pid;
9 
10 	switch (i) {
11 	case 1:
12 		return kill(pid, SIGURG);
13 
14 	default:
15 		return (pid = getpid()) + i;
16 	}
17 
18 }
19