Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cpncrunch
on Aug 21, 2014
|
parent
|
context
|
favorite
| on:
fork() can fail
I think azinman2 was criticizing kill(), not fork(). It would make more sense to have a separate system call, something like killall().
masklinn
on Aug 21, 2014
[–]
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.
SeanLuke
on Aug 22, 2014
|
parent
[–]
> 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: