diff options
author | default <nobody@localhost> | 2022-09-29 12:52:57 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-29 12:52:57 +0200 |
commit | a66bbd4360ebf8b97872376e2ea0c2e7933c3e56 (patch) | |
tree | 0ccbf9022db99ba27d91dd5d63a73d8e78ba15e6 /xs.h | |
parent | 80d1700f6a82707a4b5ffdce2fa8b1ec7d118f65 (diff) |
Use SIGTRAP instead of the signal number in raise().
Diffstat (limited to 'xs.h')
-rw-r--r-- | xs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ typedef char d_char; #define _xs_blk_size(sz) ((((sz) + _XS_BLK_SIZE) / _XS_BLK_SIZE) * _XS_BLK_SIZE) void _xs_destroy(char **var); -#define xs_debug() raise(5) +#define xs_debug() raise(SIGTRAP) xstype xs_type(const char *data); int xs_size(const char *data); int xs_is_null(char *data); |