maccro is_proc_separator : small correction
add '\0' to do the same thing that 'strchr' (and prevent invalid read)