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

I think azinman2 was criticizing kill(), not fork(). It would make more sense to have a separate system call, something like killall().


You can criticise both, and more importantly criticise C for its inability to create sensible APIs: in a good design, fork() would have exclusive domains for a PID, an Error and a Child result and you couldn't confuse an error for a pid.


> criticise C for its inability to create sensible APIs

Where in the C manual is kill() described again?




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

Search: