regcmp()

Doug Gwyn gwyn at brl-smoke.ARPA
Fri Feb 19 21:37:13 AEST 1988


In article <15100006 at bucc2> brian at bucc2.UUCP writes:
>> Not if you cast it to "char *", it isn't!  Passing "(char *)0" is quite
>> sufficient, unless the compiler is horribly broken.
>  Tsk, tsk, tsk. This statment is true if sizeof(int) == sizeof(pointer).

That statement was true regardless of the various object sizes.
(char *)0 has the right size.



More information about the Comp.unix.questions mailing list