NULL v. zero
Posted Jul 23, 2004 14:36 UTC (Fri) by
vivi48 (subscriber, #6412)
In reply to:
NULL v. zero by h.j.thomassen
Parent article:
NULL v. zero
> The execl example really *must* have "(const char *)NULL" (or
> (const char *)0) to be theoretically correct in size.
or (void *)NULL or (void *)0 because the spec explicitely says that with va_arg you can read back a void * as a char *.
(
Log in to post comments)