This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.0 alpha 9
[perl5.git] / unixish.h
CommitLineData
79072805
LW
1
2/*
3 * The following symbols are defined if your operating system supports
4 * functions by that name. All Unixes I know of support them, thus they
5 * are not checked by the configuration script, but are directly defined
6 * here.
7 */
8#define HAS_ALARM
9#define HAS_CHOWN
10#define HAS_CHROOT
11#define HAS_FORK
12#define HAS_GETLOGIN
13#define HAS_GETPPID
14#define HAS_KILL
15#define HAS_LINK
16#define HAS_PIPE
17#define HAS_WAIT
18#define HAS_UMASK
19#define HAS_PAUSE
20/*
21 * The following symbols are defined if your operating system supports
22 * password and group functions in general. All Unix systems do.
23 */
24#ifdef I_GRP
25#define HAS_GROUP
26#endif
27#ifdef I_PWD
28#define HAS_PASSWD
29#endif
30
ed6116ce
LW
31
32#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
33# include <signal.h>
34#endif
35
79072805
LW
36#ifndef SIGABRT
37# define SIGABRT SIGILL
38#endif
39#ifndef SIGILL
40# define SIGILL 6 /* blech */
41#endif
42#define ABORT() kill(getpid(),SIGABRT);
43