delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/25/00:46:28

Date: Thu, 25 Jul 2002 07:42:13 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Filip Sielimowicz <sielim AT wp DOT pl>
cc: djgpp AT delorie DOT com
Subject: Re: ILP32 - Fwd: Re: 16 bit buffer
In-Reply-To: <ahlm3f$9an$1@wulkan.npnet.org>
Message-ID: <Pine.SUN.3.91.1020725074103.20185A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 24 Jul 2002, Filip Sielimowicz wrote:

> Does it make expressions like "if (!p)" not valid for pointers ?

No, that's still valid.

> Is pointer converted to int or long long or there's no
> convertion - "if" operates on pointers "as they are" ?

It's implementation-dependant, but AFAIK most architectures operate on 
pointers directly.  After all, a pointer is just a number.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019