ucspi-ssl
0.13.04
ucspi-ssl
Loading...
Searching...
No Matches
ucspi-ssl-0.13.04
src
tryshsgr.c
Go to the documentation of this file.
1
/* Public domain. */
2
3
int
main
()
4
{
5
short
x[4];
6
7
x[0] = x[1] = 1;
8
if
(getgroups(1,x) == 0)
if
(setgroups(1,x) == -1) _exit(1);
9
10
if
(getgroups(1,x) == -1) _exit(1);
11
if
(x[1] != 1) _exit(1);
12
x[1] = 2;
13
if
(getgroups(1,x) == -1) _exit(1);
14
if
(x[1] != 2) _exit(1);
15
_exit(0);
16
}
main
int main()
Definition
tryshsgr.c:3
Generated on
for ucspi-ssl by
1.14.0