Hi Ilpo, On 5/20/24 5:30 AM, Ilpo Järvinen wrote:
A few functions receive PIDs through int arguments. PIDs variables should be of type pid_t, not int. Convert pid arguments from int to pid_t.
This looks good to me. A couple of places remain that treat pid_t as int ... that is via the %d format specifier used to do the printing in print_results_cache() as well as print_results_bw(). I understand we do not see any warnings since these are indeed int. So, I wonder if an explicit (int) cast would not make things obvious and match the stated goal of not treating pid_t as int? Reinette