2 ms·
I get reads, but writes? How do you manage that? I'm presuming they're using the safe versions of sprintf but in case they're not, they probably have bigger pro
by gruez 5y ago
I get reads, but writes? How do you manage that? I'm presuming they're using the safe versions of sprintf but in case they're not, they probably have bigger problems.
- Gaelan 5y agoI think printf has a %n specifier that writes the number of characters so far to a pointer passed in.