From e9793b4bceac009e09598a7b98048b604c745daa Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 10 Aug 2018 13:36:00 -0400 Subject: 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. --- chat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chat.h') 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 ); -- cgit 1.4.1