gcc and NULL function pointers.

Doug Gwyn gwyn at smoke.brl.mil
Sun Jun 16 03:33:40 AEST 1991


In article <EE-B=O2 at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:
>	execl("/bin/sh", "sh", "-c", "echo", NULL);
>(which is a common idiom in UNIX source groups) ...

A common INCORRECT idiom!  This error is well known and has been discussed
to death, both on Usenet and in C programming textbooks and style guides.



More information about the Comp.std.c mailing list