News for hackers. Stuff that matters.
Re:Tearing apart printf() (2018) by brandmeyer on Tuesday November 12, 2019 @06:39PM (#21519472)
You can also use __attribute__((format(printf, ...))) for functions of yours that ultimately pass their varargs to a member of the printf family.

It is exceedingly rare for malloc() to give you a recovery chance on failure. Folks are so used to the Linux model of overcommit+OOM killer that almost nobody's code can gracefully deal with memory exhaustion.

There are no comments on this comment yet.