Testsuite: fakens/inet_pton on solaris again
[exim.git] / test / src / showids.c
CommitLineData
c55a77db
PH
1#include <stdio.h>
2#include <unistd.h>
3#include <sys/types.h>
4
5int main(void)
6{
7int count, i;
8gid_t grouplist[100];
9
10printf("uid=%d gid=%d euid=%d egid=%d\n",
11 getuid(), getgid(), geteuid(), getegid());
12
13/* Can no longer use this because on different systems, the supplemental
14groups will be different. */
15
16#ifdef NEVER
17printf("supplemental groups: ");
18count = getgroups(100, grouplist);
19for (i = 0; i < count; i++) printf("%d ", grouplist[i]);
20printf("\n");
21#endif
22
23return 0;
24}