Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cpulimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static void quit(int sig)
//fix ^C little problem
printf("\r");
fflush(stdout);
exit(0);
exit(124);
}

//return t1-t2 in microseconds (no overflow checks, so better watch out!)
Expand Down
1 change: 1 addition & 0 deletions src/process_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#include <libgen.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
Expand Down
1 change: 1 addition & 0 deletions tests/process_iterator_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#include <libgen.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
Expand Down