… | |
… | |
3 | #include <errno.h> |
3 | #include <errno.h> |
4 | |
4 | |
5 | #include "EXTERN.h" |
5 | #include "EXTERN.h" |
6 | #include "perl.h" |
6 | #include "perl.h" |
7 | #include "XSUB.h" |
7 | #include "XSUB.h" |
|
|
8 | |
|
|
9 | #if !defined mg_findext |
|
|
10 | # define mg_findext(sv,type,vtbl) mg_find (sv, type) |
|
|
11 | #endif |
8 | |
12 | |
9 | #include <stddef.h> |
13 | #include <stddef.h> |
10 | #include <stdlib.h> |
14 | #include <stdlib.h> |
11 | #include <errno.h> |
15 | #include <errno.h> |
12 | #include <sys/types.h> |
16 | #include <sys/types.h> |
… | |
… | |
1038 | const_niv (MADV_RANDOM , POSIX_MADV_RANDOM) |
1042 | const_niv (MADV_RANDOM , POSIX_MADV_RANDOM) |
1039 | const_niv (MADV_WILLNEED , POSIX_MADV_WILLNEED) |
1043 | const_niv (MADV_WILLNEED , POSIX_MADV_WILLNEED) |
1040 | const_niv (MADV_DONTNEED , POSIX_MADV_DONTNEED) |
1044 | const_niv (MADV_DONTNEED , POSIX_MADV_DONTNEED) |
1041 | |
1045 | |
1042 | /* the second block will be 0 when missing */ |
1046 | /* the second block will be 0 when missing */ |
|
|
1047 | const_iv (O_ACCMODE) |
|
|
1048 | |
1043 | const_iv (O_RDONLY) |
1049 | const_iv (O_RDONLY) |
1044 | const_iv (O_WRONLY) |
1050 | const_iv (O_WRONLY) |
1045 | const_iv (O_RDWR) |
1051 | const_iv (O_RDWR) |
1046 | const_iv (O_CREAT) |
1052 | const_iv (O_CREAT) |
1047 | const_iv (O_TRUNC) |
1053 | const_iv (O_TRUNC) |