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 | |
dbc1d986 |
14 | |
15 | /* flock() operation flags */ |
16 | #define LOCK_SH (0x00) |
17 | #define LOCK_EX (0x01) |
18 | #define LOCK_UN (0x02) |
19 | #define LOCK_NB (0x04) |
20 | |
21 | int flock(int fd, int operation); |
22 | |
23 | #undef close |
24 | #define close beos_close |
25 | |
26 | int beos_close(int fd); |
27 | |
28 | |
29 | #undef kill |
30 | #define kill beos_kill |
31 | int beos_kill(pid_t pid, int sig); |
32 | |
efca5cc6 |
33 | #endif |
34 | |