Y
Hacker News
new
|
ask
|
show
|
jobs
by
burgerbrain
5299 days ago
Avoid the allocation entirely. Use writev for example (or just use multiple 'write's, if you don't care about it being atomic).
1 comments
sickill
5299 days ago
Thx. Improved version in master:
https://github.com/sickill/stderred/blob/master/stderred.c
link