prototypes, NULL, and magic
Doug Gwyn
gwyn at smoke.brl.mil
Wed Mar 27 08:19:28 AEST 1991
In article <1490 at sheol.UUCP> throopw at sheol.UUCP (Wayne Throop) writes:
>... I am moved to ask: what about the execl(2) family of functions, ...
These are specified in IEEE Std 1003.1. Yes, in general they might not
work right if invoked without a prototype in scope. Note also that the
often-seen practice of using an unadorned "0" to terminate the execl()
list has always been incorrect; a null pointer of type char* is needed.
More information about the Comp.lang.c
mailing list