summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-29 12:41:36 +0200
committerdefault <nobody@localhost>2022-09-29 12:41:36 +0200
commitaabdbe1deef21bde913a63738fd5020b7ee35df0 (patch)
treee50037eec9d06110195299042302cbe8c07ca199 /xs.h
parent6317c9678de9e5a9d6100bcc520bcc15609a2f0b (diff)
Replace kill(getpid()) with raise().
Diffstat (limited to 'xs.h')
-rw-r--r--xs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs.h b/xs.h
index 2bb0173..234a1d2 100644
--- a/xs.h
+++ b/xs.h
@@ -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);