33 #ifndef __FREEWRL_SYSTEM_H__
34 #define __FREEWRL_SYSTEM_H__
47 # define strrchr rindex
49 char *strchr (), *strrchr ();
51 # define memcpy(d, s, n) bcopy ((s), (d), (n))
52 # define memmove(d, s, n) bcopy ((s), (d), (n))
63 typedef unsigned char _Bool;
69 # define __bool_true_false_are_defined 1
77 # include <sys/types.h>
85 # include <sys/wait.h>
88 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
91 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
103 # include <sys/msg.h>
117 #define SIGQUIT SIGINT
120 #define SIGALRM SIGABRT
121 #define SIGHUP SIGFPE