You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in process_iterator_linux.c function: int close_process_iterator(struct process_iterator_)
this function's return value 0 when sucessful,and 1 when it error.then,
in process_group.c function:int find_process_by_name(const char_)
it has:
if(close_process_iterator(&it) != 1)exit(1);<-------------------------i think it should be:
if(close_process_iterator(&it) != 0)exit(1);
and after i fix it,the program works well!!~
so ,check it out..and thanks.
The text was updated successfully, but these errors were encountered:
in process_iterator_linux.c function: int close_process_iterator(struct process_iterator_)
this function's return value 0 when sucessful,and 1 when it error.then,
in process_group.c function:int find_process_by_name(const char_)
it has:
if(close_process_iterator(&it) != 1)exit(1);<-------------------------i think it should be:
if(close_process_iterator(&it) != 0)exit(1);
and after i fix it,the program works well!!~
so ,check it out..and thanks.
The text was updated successfully, but these errors were encountered: