Sign in
fuchsia
/
third_party
/
github.com
/
docker
/
docker
/
refs/tags/v19.03.2-rc1
/
.
/
contrib
/
syscall-test
/
setgid.c
blob: df9680c86937be4fad59346d9b4c9d4fc9c1ff01 [
file
] [
log
] [
blame
]
#include
<sys/types.h>
#include
<unistd.h>
#include
<stdio.h>
int
main
()
{
if
(
setgid
(
1
)
==
-
1
)
{
perror
(
"setgid"
);
return
1
;
}
return
0
;
}