Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
strace
/
dcc7a3c1c68455bffe16b5c4cd32ea1b92a5a4d1
/
.
/
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
;
}