News for hackers. Stuff that matters.

brghts

Re:Deconstructing K&R C (2010) on Sunday January 04, 2015 @05:43AM (#8834044)
Nit: I would suggest not using assert() for checking error return values. Compiling the program with -DNDEBUG disables the check. assert() is for finding bugs in your program. A malloc() call returning NULL is not a bug.