@lifning Doesn't sprintf ALWAYS add a null terminator? I seem to remember having to use memcpy to avoid that
@lt_riza_hawkeye i was probably thinking of snprintf or strncat or something, but i had also just stayed up until 3:30am and was half asleep when i posted this :p
@wolfcoder someone else noticed this too, i think in my half asleep state i probably had strcpy in mind but on some subconscious level wanted it to start with an S you could pronounce, like S-Club.
@wolfcoder @lifning or you can avoid all these problems by using asprintf instead https://github.com/riking/libft/blob/master/ft_printf/srcs/asprintf.c
@wolfcoder @riking yeah but then the song would be unremarkable
@wolfcoder @lifning i mean, asprintf is in the stdlib too, i just didn't want to link to an html manpage?
that folder is a complete reimplementation of printf, minus floating point because i didn't have enough time
@lifning That's fine by me. I don't even understand the *explanations* of the jokes, half the time.
$ man 7 sclub