Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
0b52ac3134018e2072b20a4201da8da30921d9c7
/
.
/
tests
/
getsid.c
blob: b563de9d003a1252ccc7a0d4cd9e0ed90c5ca63e [
file
] [
log
] [
blame
]
#include
"tests.h"
#include
<stdio.h>
#include
<unistd.h>
int
main
(
void
)
{
pid_t
pid
=
getpid
();
printf
(
"getsid(%d) = %d\n"
,
pid
,
getsid
(
pid
));
puts
(
"+++ exited with 0 +++"
);
return
0
;
}