diff options
author | Curtis McEnroe | 2018-08-10 13:36:00 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-10 13:36:00 -0400 |
commit | e9793b4bceac009e09598a7b98048b604c745daa (patch) | |
tree | ec1d57ab1d20e27bb77988a2e10dafcb3d318efa /chat.h | |
parent | b740e937df159255e4a33375e9e3afd03dd5a49b (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.h | 2 |
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 ); |