Replace kill(getpid()) with raise().

This commit is contained in:
default 2022-09-29 12:41:36 +02:00
parent 6317c9678d
commit aabdbe1dee

2
xs.h
View File

@ -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() kill(getpid(), 5)
#define xs_debug() raise(5)
xstype xs_type(const char *data);
int xs_size(const char *data);
int xs_is_null(char *data);