Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Out of "-1 as failure return value", and "-1 to signal all possible processes", at least one is a bad idea.


It's the second one. kill() shouldn't have the kill(-1,...) functionality, there should be a separate syscall for this.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: