4 ms·
If anything I just got entrenched in my opinion. The second best option, maybe, would be to not accept any destination pointers and have the default and only po
by baq 5mo ago
If anything I just got entrenched in my opinion. The second best option, maybe, would be to not accept any destination pointers and have the default and only possible behavior just like what you describe.
- bruce343434 5mo agoI agree. I tend to use the gnu "asprintf" which simply returns a properly allocated char buffer with the formatted string in it. And on platforms that don't feature asprintf (windows) you can build your own using sprintf!