Search Results

Search: Posts Made By: wakatana
Forum: Programming 02-28-2011
30,826
Posted By Corona688
Yes, you're not supposed to use WEXITSTATUS() on...
Yes, you're not supposed to use WEXITSTATUS() on a PID, it's a different integer, but you're throwing that value away. Try:

{
int status;
waitpid(child_pids[i], &status, 0);
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy