9 #define X_WRONG_NUMARGS 0x01
10 #define X_REGEX_COMPILE 0x02
11 #define X_REGEX_INVALID 0x03
12 #define X_SGNL_INT_TERM 0x04
13 #define X_YOURE_UNLUCKY 0x05
14 #define X_KEY_GEN_FAILS 0x06
15 #define X_THREAD_CREATE 0x07
16 #define X_BIGNUM_FAILED 0x08
17 #define X_INVALID_THRDS 0x09
18 #define X_EXCLUSIVE_OPT 0x0A
19 #define X_INVALID_E_LIM 0x0B
20 #define X_NEED_FILE_OUT 0x0C
21 #define X_FILE_OPEN_ERR 0x0D
22 #define X_DAEMON_FAILED 0x0E
23 #define X_OUT_OF_MEMORY 0x11
24 #define X_MAXTIME_REACH 0x12
28 // BSD specific defines
29 #define X_SYSCTL_FAILED 0x0F
30 #elif defined(LINUX_PORT)
31 // Linux specific defines
32 #define X_BAD_FILE_DESC 0x0F
33 #define X_ABNORMAL_READ 0x10
38 void error(int32_t code
);