This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert ext/Fcntl/t/syslfs.t to Test::More and t/op/lfs.t to test.pl
[perl5.git] / beos / beosish.h
CommitLineData
efca5cc6
JH
1#ifndef PERL_BEOS_BEOSISH_H
2#define PERL_BEOS_BEOSISH_H
3
531c60d5 4#include "../unixish.h"
efca5cc6
JH
5
6#undef waitpid
7#define waitpid beos_waitpid
8
531c60d5
JH
9pid_t beos_waitpid(pid_t process_id, int *status_location, int options);
10
efca5cc6
JH
11/* This seems to be protoless. */
12char *gcvt(double value, int num_digits, char *buffer);
13
e56d2c04
IW
14/* flock support, if available */
15#ifdef HAS_FLOCK
dbc1d986 16
e56d2c04 17#include <flock.h>
dbc1d986
IW
18
19#undef close
e56d2c04
IW
20#define close flock_close
21
22#undef dup2
23#define dup2 flock_dup2
dbc1d986 24
e56d2c04 25#endif /* HAS_FLOCK */
dbc1d986
IW
26
27
28#undef kill
29#define kill beos_kill
30int beos_kill(pid_t pid, int sig);
31
e56d2c04
IW
32#undef sigaction
33#define sigaction(sig, act, oact) beos_sigaction((sig), (act), (oact))
34int beos_sigaction(int sig, const struct sigaction *act,
35 struct sigaction *oact);
36
efca5cc6
JH
37#endif
38