Re: [sv-cc] RE: [sv-ec] Clarification on my earlier mail regarding on strings

From: <Shalom.Bresticker@freescale.com>
Date: Tue Nov 23 2004 - 07:44:13 PST

So NULL is a pointer and NUL is a character?

Thanks,
Shalom

On Tue, 23 Nov 2004, Steven J. Dovich wrote:

> My apologies to Doug and Rob for using their comments as a soapbox
> for a pre-existing problem in the Verilog standard. Fortunately 1800
> does not appear to have imported the problem, but we need to be
> vigilant that it does not spread. Now for the standards rant...
>
> To be properly consistent with the C language, we also need to
> recognize that NULL is not a character, it is a pointer. C strings
> are composed of characters and are terminated by a "null character".
> Common usage also designates the character valued as '\0' as the
> NUL character from the ASCII character names (note the three letter
> spelling).
>
> Our draft would be improved by not requiring the reader to understand
> that we didn't exactly mean what we really said.
>
> /sjd

-- 
Shalom Bresticker                        Shalom.Bresticker @freescale.com
Design & Verification Methodology                    Tel: +972 9  9522268
Freescale Semiconductor Israel, Ltd.                 Fax: +972 9  9522890
POB 2208, Herzlia 46120, ISRAEL                     Cell: +972 50 5441478
  
[ ]Freescale Internal Use Only      [ ]Freescale Confidential Proprietary
Received on Tue Nov 23 07:44:31 2004

This archive was generated by hypermail 2.1.8 : Tue Nov 23 2004 - 07:44:35 PST