Skip to main content
4 events
when toggle format what by license comment
Apr 13, 2022 at 11:40 comment added Doc Brown @hyde: though this answer misses that C came more from the Unix world, according to Raymond Chen's blog post from 2005, it may not be completely off-track, since in certain old Unix implementations there were similar file name restrictions, and strncpy seems to be a suitable string copy function for them.
Apr 13, 2022 at 7:05 comment added hyde Related to your mprintf, there's also non-standard (also not POSIX) GNU asprintf: man7.org/linux/man-pages/man3/asprintf.3.html
Apr 13, 2022 at 6:59 comment added hyde Thanks for the answer, but I'm after facts as an answer, not speculation and guesses.
Apr 12, 2022 at 22:23 history answered gnasher729 CC BY-SA 4.0