about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-10 13:36:00 -0400
committerJune McEnroe <june@causal.agency>2018-08-10 13:36:00 -0400
commite9793b4bceac009e09598a7b98048b604c745daa (patch)
treeec1d57ab1d20e27bb77988a2e10dafcb3d318efa /chat.h
parentRemove unnecessary va_end (diff)
downloadcatgirl-e9793b4bceac009e09598a7b98048b604c745daa.tar.gz
catgirl-e9793b4bceac009e09598a7b98048b604c745daa.zip
Move process spawning onto the event loop
Child processes weren't being reaped before, either. I wanted to have a
function called readEmAndReap but the reaping should actually happen in
a signal handler.
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index fce1ba2..9a1b855 100644
--- a/chat.h
+++ b/chat.h
@@ -32,6 +32,8 @@ struct {
 	char *join;
 } chat;
 
+void spawn(char *const argv[]);
+
 int ircConnect(
 	const char *host, const char *port, const char *pass, const char *webPass
 );