Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
serve_yay
on Aug 21, 2014
|
parent
|
context
|
favorite
| on:
fork() can fail
Out of "-1 as failure return value", and "-1 to signal all possible processes", at least one is a bad idea.
leni536
on Aug 21, 2014
[–]
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: