Andrea Arcangeli wrote:
> 
> On Mon, 25 May 1998, Glynn Clements wrote:
> 
> >But for testing null pointers, I use `!'. In this context, it seems
> 
> BAD. I worked in envinronments where NULL is ((void *)-1UL). If you use !
> to check for a NULL pointer you make your code not portable.

What is the best, all round "most portable" means of testing for a null
pointer??



-- 
email: [EMAIL PROTECTED]
Local mailserver <landreau.ruffe.edu> , remote <ns.computer.net>

Nothing like being lost on a desolate beach, riding on  a wave with a
mermaid on a hot summer day.

Reply via email to