error handlling in recursive function
- From: pereges <Broli00@xxxxxxxxx>
- Date: Fri, 30 May 2008 06:22:27 -0700 (PDT)
How to to go about this ? Suppose a malloc inside a recursive function
has failed and you want to set the error flag and return it to the
calling function(the one which called the recursive function in the
first place)
.
- Follow-Ups:
- Re: error handlling in recursive function
- From: CBFalconer
- Re: error handlling in recursive function
- From: David Resnick
- Re: error handlling in recursive function
- Prev by Date: Re: Expanding buffer - response to "Determine the size of malloc" query
- Next by Date: Re: Expanding buffer - response to "Determine the size of malloc" query
- Previous by thread: passing copy of a pointer to a variable vs passing the copy
- Next by thread: Re: error handlling in recursive function
- Index(es):
Relevant Pages
|