server: improve child process handling

This commit is contained in:
Shuanglei Tao
2019-12-11 00:09:54 +08:00
parent 397b24f138
commit b67e382ab8
6 changed files with 700 additions and 98 deletions

View File

@@ -29,10 +29,6 @@ get_sig(const char *sig_name);
bool
fd_set_cloexec(const int fd);
// waitpid with WNOHANG and return the status
int
wait_proc(pid_t in, pid_t *out);
// Open uri with the default application of system
int
open_uri(char *uri);