Add child_wait() function

Can be used to wait for the termination of a child process.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2011-07-02 07:33:26 +02:00
parent 6e2b00096d
commit 7e61b3de06
2 changed files with 17 additions and 0 deletions

View File

@@ -880,6 +880,7 @@ void str_toupper (char *);
void file_close (FILE *, const char *);
void psleep (unsigned);
int fork_exec (int *, int *, const char *, char *const *);
int child_wait (int *, int *, int);
/* vars.c */
extern int col, row;