News for hackers. Stuff that matters.
Re:The Ten Commandments for C Programmers (1987) by monocasa on Saturday May 23, 2020 @01:39PM (#23284829)
It's unfortunate that you're getting downvoted; there's for sure real dragons at the intersection of the NULL literal and variadic functions since it's totally legal for NULL to be defined as such:

  #define NULL 0
Re:The Ten Commandments for C Programmers (1987) by a1369209993 on Wednesday May 27, 2020 @10:37PM (#23332809)
Much, much more subtly nasty, it's also legal for NULL to be defined as:

  #define NULL ((void*)0)
and then passed to a function that expects variadic int* parameters on a machine where register-sized addresses are word-aligned and thus int* has a different sizeof (and/or bit-level representation) than void*.