This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.0 alpha 2
[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
31#ifndef SIGABRT
32# define SIGABRT SIGILL
33#endif
34#ifndef SIGILL
35# define SIGILL 6 /* blech */
36#endif
37#define ABORT() kill(getpid(),SIGABRT);
38