ucspi-tcp6
1.13.02
ucspi-tcp6
Loading...
Searching...
No Matches
ucspi-tcp6-1.13.02
src
tryshsgr.c
Go to the documentation of this file.
1
int
main
()
2
{
3
short
x[4];
4
5
x[0] = x[1] = 1;
6
if
(
getgroups
(1,x) == 0)
if
(
setgroups
(1,x) == -1) _exit(1);
7
8
if
(
getgroups
(1,x) == -1) _exit(1);
9
if
(x[1] != 1) _exit(1);
10
x[1] = 2;
11
if
(
getgroups
(1,x) == -1) _exit(1);
12
if
(x[1] != 2) _exit(1);
13
_exit(0);
14
}
getgroups
int getgroups(int, short[4])
setgroups
int setgroups(int, short[4])
main
int main()
Definition:
tryshsgr.c:1
Generated on Mon Sep 23 2024 11:33:28 for ucspi-tcp6 by
1.9.6