Sys/User/Group.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package SPVM::Sys::User::Group;
2  
3 1;
4  
5 =head1 Name
6  
7 SPVM::Sys::User::Group - Entry of Group Database
8  
9 =head1 Usage
10
11 use Sys::User;
12 use Sys::User::Group;
13
14 Sys::User->setgrent;
15
16 # Get a Sys::User::Group object
17 my $group = Sys::User->getgrent;
18
19 my $group_name = $group->gr_name;
20
21 Sys::User->endgrent;
22  
23 =head1 Description
24  
25 C<Sys::User::Group> is the class for an entry of the group database.
26  
27 =head2 gr_name
28  
29 C<method gr_name : string ();>
30  
31 Get the group name.
32  
33 =head2 gr_passwd
34  
35 C<method gr_passwd : string ();>
36  
37 Get the group password.
38  
39 =head2 gr_gid
40  
41 C<method gr_gid : int ();>
42  
43 Get the group ID.
44  
45 =head2 gr_mem
46  
47 C<method gr_mem : string[] ();>
48  
49 Get the group member names.
50  
51 =head1 Copyright & License
52  
53 Copyright (c) 2023 Yuki Kimoto
54  
55 MIT License
56