Pid.xs

filter: Statementstmt 100% 2 / 2 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 2 / 2 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/lib/Linux/Pid.pm ↑ Summary
1 #include "EXTERN.h"
2 #include "perl.h"
3 #include "XSUB.h"
4  
5 /*#include "ppport.h"*/
6  
7 MODULE = Linux::Pid PACKAGE = Linux::Pid
8  
9 int
10 getpid()
11 CODE:
12 2 RETVAL = getpid();
13 OUTPUT:
14 RETVAL
15  
16 int
17 getppid()
18 CODE:
19 2 RETVAL = getppid();
20 OUTPUT:
21 RETVAL
« blib/lib/Linux/Pid.pm ↑ Summary