ucspi-ssl
0.12.7
ucspi-ssl
ucspi-ssl-0.12.7
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
}
_exit
void _exit()
main
int main()
Definition:
tryshsgr.c:3
Generated on Mon May 15 2023 22:17:01 for ucspi-ssl by
1.9.1