Treat out-of-range process numbers just like invalid numbers that fit into the pid_t range, and return -1.
Attach a file by drag & drop or click to upload