summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorCurtis McEnroe2018-08-10 13:36:00 -0400
committerCurtis McEnroe2018-08-10 13:36:00 -0400
commite9793b4bceac009e09598a7b98048b604c745daa (patch)
treeec1d57ab1d20e27bb77988a2e10dafcb3d318efa /chat.h
parentb740e937df159255e4a33375e9e3afd03dd5a49b (diff)
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
 );