diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
commit | ea859f50d9438bc61ae96721a4d255b49de78653 (patch) | |
tree | bfb52a5f403ad1e86c562b2f4d608d1268fe8fcf /TraceScreen.c | |
parent | 266ab52b3a741a58fb17c48b0f7939d7c5d266de (diff) | |
download | debian_htop-ea859f50d9438bc61ae96721a4d255b49de78653.tar.gz debian_htop-ea859f50d9438bc61ae96721a4d255b49de78653.tar.bz2 debian_htop-ea859f50d9438bc61ae96721a4d255b49de78653.zip |
Imported Upstream version 0.6.2upstream/0.6.2
Diffstat (limited to 'TraceScreen.c')
-rw-r--r-- | TraceScreen.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TraceScreen.c b/TraceScreen.c index 9628290..a5feded 100644 --- a/TraceScreen.c +++ b/TraceScreen.c @@ -1,6 +1,6 @@ /* htop - TraceScreen.c -(C) 2005 Hisham H. Muhammad +(C) 2005-2006 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -11,11 +11,15 @@ in the source distribution for its full text. #include <stdbool.h> #include <unistd.h> #include <fcntl.h> +#include <sys/types.h> +#include <sys/wait.h> #include "TraceScreen.h" #include "ProcessList.h" #include "Process.h" #include "ListItem.h" +#include "ListBox.h" +#include "FunctionBar.h" /*{ @@ -160,5 +164,6 @@ void TraceScreen_run(TraceScreen* this) { ListBox_draw(lb, true); } kill(child, SIGTERM); + waitpid(child, NULL, 0); fclose(strace); } |