Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # NOTE: Derived from ../../lib/POSIX.pm. |
2 | # Changes made here will be lost when autosplit is run again. | |
3 | # See AutoSplit.pm. | |
4 | package POSIX; | |
5 | ||
6 | #line 667 "../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/getgroups.al)" | |
7 | sub getgroups { | |
8 | usage "getgroups()" if @_ != 0; | |
9 | my %seen; | |
10 | grep(!$seen{$_}++, split(' ', $) )); | |
11 | } | |
12 | ||
13 | # end of POSIX::getgroups | |
14 | 1; |