2 ms·
Avoid the allocation entirely. Use writev for example (or just use multiple 'write's, if you don't care about it being atomic).
by burgerbrain 15y ago
Avoid the allocation entirely. Use writev for example (or just use multiple 'write's, if you don't care about it being atomic).
- sickill 15y agoThx. Improved version in master: https://github.com/sickill/stderred/blob/master/stderred.c https://github.com/sickill/stderred/blob/master/stderred.c