3 ms·
I think azinman2 was criticizing kill(), not fork(). It would make more sense to have a separate system call, something like killall().
by cpncrunch 12y ago
I think azinman2 was criticizing kill(), not fork(). It would make more sense to have a separate system call, something like killall().
- masklinn 12y agoYou 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 12y ago> criticise C for its inability to create sensible APIs Where in the C manual is kill() described again?
- deleted 12y ago[deleted]