delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/24/04:19:00

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: delete NULL?
Date: Mon, 24 Feb 1997 00:19:16 -0800
Organization: Alcyone Systems
Lines: 15
Message-ID: <33114F04.122E482E@alcyone.com>
References: <19970216 DOT 124451 DOT 7287 DOT 0 DOT fwec AT juno DOT com> <330F6A8D DOT 643B9308 AT alcyone DOT com> <33104788 DOT 6873 AT stud DOT tue DOT nl>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

R.v.Paasen wrote:

> You have to be sure that ptr is initialised with NULL.

Of course.  Creating a variable will never guarantee that it is initialized
to any reasonable value, much less the null pointer, in the case of a
pointer variable.

-- 
       Erik Max Francis, &tSftDotIotE / email:  max AT alcyone DOT com
                     Alcyone Systems /    web:  http://www.alcyone.com/max/
San Jose, California, United States /    icbm:  37 20 07 N  121 53 38 W
                                   \
              "I am become death, / destroyer of worlds."
                                 / J. Robert Oppenheimer (quoting legend)

- Raw text -


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