Home | History | Annotate | Download | only in ping

Lines Matching defs:ngroups

1678 	int ngroups;
1686 ngroups = getgroups(0, empty);
1687 if (ngroups < 0) {
1691 groups = (gid_t *) malloc((ngroups * sizeof(gid_t)));
1693 fprintf(stderr, "ping: unable to allocate memory for %d groups. Aborting\n", ngroups);
1696 ngroups = getgroups(ngroups, groups);
1697 if (ngroups < 0) {
1702 for (i = 0; i < ngroups; i++) {