Commit | Line | Data |
efca5cc6 |
1 | #ifndef PERL_BEOS_BEOSISH_H |
2 | #define PERL_BEOS_BEOSISH_H |
3 | |
531c60d5 |
4 | #include "../unixish.h" |
efca5cc6 |
5 | |
6 | #undef waitpid |
7 | #define waitpid beos_waitpid |
8 | |
531c60d5 |
9 | pid_t beos_waitpid(pid_t process_id, int *status_location, int options); |
10 | |
efca5cc6 |
11 | /* This seems to be protoless. */ |
12 | char *gcvt(double value, int num_digits, char *buffer); |
13 | |
e56d2c04 |
14 | /* flock support, if available */ |
15 | #ifdef HAS_FLOCK |
dbc1d986 |
16 | |
e56d2c04 |
17 | #include <flock.h> |
dbc1d986 |
18 | |
19 | #undef close |
e56d2c04 |
20 | #define close flock_close |
21 | |
22 | #undef dup2 |
23 | #define dup2 flock_dup2 |
dbc1d986 |
24 | |
e56d2c04 |
25 | #endif /* HAS_FLOCK */ |
dbc1d986 |
26 | |
27 | |
28 | #undef kill |
29 | #define kill beos_kill |
30 | int beos_kill(pid_t pid, int sig); |
31 | |
e56d2c04 |
32 | #undef sigaction |
33 | #define sigaction(sig, act, oact) beos_sigaction((sig), (act), (oact)) |
34 | int beos_sigaction(int sig, const struct sigaction *act, |
35 | struct sigaction *oact); |
36 | |
efca5cc6 |
37 | #endif |
38 | |