in reply to Re: C vs perl
in thread C vs perl
Thanks for the corrections. --My C code is pretty ugly. Especially the \r\n vs \n\r thing .
For what it is worth I **do** need to allocate another byte for the terminating \0
strlen does **not** include the terminating null see man strlen
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: C vs perl
by abstracts (Hermit) on Apr 29, 2002 at 01:52 UTC | |
by mandog (Curate) on Apr 29, 2002 at 02:19 UTC | |
by abstracts (Hermit) on Apr 29, 2002 at 02:25 UTC |