in reply to Re: C vs perl
in thread C vs perl
Are ret[0], ret[1], ret[2], ... ret[n] all set to '\0'? My manual for malloc() says "The memory is not cleared", but in my debugger it looks like all these values are zero.ret = (char*) malloc(strlen(str) + strlen(str));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: C vs perl
by Elian (Parson) on Apr 28, 2002 at 19:21 UTC | |
|
Re: Re: Re: C vs perl
by h.toothrot (Initiate) on Apr 29, 2002 at 10:33 UTC |