On Fri, 8 Oct 2004, Mike Hunter wrote: MH>On Oct 08, "Harti Brandt" wrote: MH> MH>> On Fri, 8 Oct 2004, Dan Nelson wrote: MH>> MH>> Memset is actually not portable if the structure contains pointers because MH>> it would initialize the pointers to 0 values not to 0 pointers. A 0 MH>> pointer not necessarily has a 0 value. A pointer can be portably be MH>> initialize to the 0-pointer only by assigning NULL (or 0) (or by assigning MH>> another pointer that is alreay initialized). MH> MH>Sick! MH> MH>Are there actually systems out there that don't have "all-zero" NULL pointers?
If you ask this question on comp.std.c I'm sure you'll get a number of positive answers, but be prepared to start a _long_ thread :-) harti _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"