File Coverage

blib/lib/Linux/NFS/BigDir/Syscalls.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Linux::NFS::BigDir::Syscalls;
2 2     2   10 use strict;
  2         4  
  2         49  
3 2     2   8 use Exporter 'import';
  2         4  
  2         185  
4             our @EXPORT = qw(SYS_getdents);
5             our $VERSION = '0.004'; # VERSION
6              
7             =pod
8              
9             =head1 NAME
10              
11             Linux::Syscalls - exports syscalls numbers defined during distribution setup
12              
13             =head1 EXPORTS
14              
15             Currently, only C is exported by default.
16              
17             =head1 FUNCTIONS
18              
19             =head2 SYS_getdents
20              
21             Returns a integer that corresponds to the C syscall defined in the C header file.
22              
23             The value is defined dynamically during the setup of L distribution with the
24             corresponding Makefile.PL.
25              
26             =head1 SEE ALSO
27              
28             =over
29              
30             =item *
31              
32             L
33              
34             =back
35              
36             =head1 AUTHOR
37              
38             Alceu Rodrigues de Freitas Junior, Earfreitas@cpan.orgE
39              
40             =head1 COPYRIGHT AND LICENSE
41              
42             This software is copyright (c) 2016 of Alceu Rodrigues de Freitas Junior, Earfreitas@cpan.orgE
43              
44             This file is part of Linux-NFS-BigDir distribution.
45              
46             Linux-NFS-BigDir is free software: you can redistribute it and/or modify
47             it under the terms of the GNU General Public License as published by
48             the Free Software Foundation, either version 3 of the License, or
49             (at your option) any later version.
50              
51             Linux-NFS-BigDir is distributed in the hope that it will be useful,
52             but WITHOUT ANY WARRANTY; without even the implied warranty of
53             MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
54             GNU General Public License for more details.
55              
56             You should have received a copy of the GNU General Public License
57             along with Linux-NFS-BigDir. If not, see .
58              
59             =cut
60              
61             sub SYS_getdents {
62             return 78;
63             }
64              
65             1;
66             sub SYS_getdents {
67 1566     1566 1 5083722 return 78;
68             }
69              
70             1;