Re:The Type of Sprintf
by hoping1 on Wednesday May 15, 2024 @08:17PM
(#40373898)
Author here. I originally wrote this about printf, but changed it because I wanted to stay away from any discussion of side effects. The rewrite wasn't perfect! In my head, a printf that returns the new string instead of printing it is called "sprintf," and I know others have this impression in a culture that is more general than just C. But you're absolutely right!
[ Parent
| on HN ]
There are no comments on this comment yet.