Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
c18737608ced60bee17a83c903d61dd5e80f7bef
/
.
/
tests
/
stack-fcall-3.c
blob: d2abe610500c17db7def49c656832e22186928b2 [
file
] [
log
] [
blame
]
#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
;
}
}