4 ms·
What would you suggest instead then? I'm not C programmer.
by sickill 15y ago
What would you suggest instead then? I'm not C programmer.
- burgerbrain 15y agoAvoid 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