2020-09-30 16:53:55 +02:00

15 lines
374 B
Perl

# NOTE: Derived from ..\..\lib\POSIX.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package POSIX;
#line 687 "..\..\lib\POSIX.pm (autosplit into ..\..\lib\auto\POSIX\getgroups.al)"
sub getgroups {
usage "getgroups()" if @_ != 0;
my %seen;
grep(!$seen{$_}++, split(' ', $) ));
}
# end of POSIX::getgroups
1;