gnupic: Re: Segmentation fault ... possible solution
Subject:
Re: Segmentation fault ... possible solution
From:
Scott Dattalo ####@####.####
Date:
29 May 2002 13:37:27 -0000
Message-Id: <Pine.LNX.4.44.0205290625010.22582-100000@ruckus.brouhaha.com>
On Wed, 29 May 2002, Philip Restuccia wrote:
> Robert Warner wrote:
> >
> > Ok, this works ...
> >
> > //void skip_space(void)
> > void skip_space( int *prxout)
> > {
> > // int *prxout = &rxout; //RXWTest
>
> Again, like I stated in my reply to your previous post, this will work
> (assuming rxout is global) only because rxout will have been initialized
> to 0, as are all global variables that are not otherwise explicitly initialized.
Actually, global variables are *not* implicitly initialized to zero by
SDCC.
Scott