- or download this
Mytest.c:251:2: error: too few arguments to function 'statfs'
- or download this
my @a;
@a = &Mytest::my_statfs("/blech"); # Test non-existent file/directory
ok( scalar(@a) == 1 && $a[0] == 2 );
@a = &Mytest::my_statfs("/"); # Test existing file/directory
is ( scalar(@a), 7 );
- or download this
#include <sys/vfs.h>
...
...
} else {
XPUSHs(sv_2mortal(newSVnv(errno)));
}
- or download this
XS_EUPXS(XS_Mytest_statfs)
{
...
}
XSRETURN_EMPTY;
}