Re: Code Review? memory management in C
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Thu, 09 Feb 2006 20:49:53 -0500
Michael Mair wrote:
.... snip ...
Note: Consider using ggets()/fggets() for reading the lines.
These are non-standard but there is at least one public domain
version (by Chuck Falconer).
Advantage: No line length restriction, automatic allocation of
the memory for the line (which means no unnecessary copying in
your case).
Available at <http://cbfalconer.home.att.net/download/ggets.zip>
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
.
- Prev by Date: Re: UNIX : Full Form !!
- Next by Date: Re: Why the variablle's value is so weird
- Previous by thread: Re: Code Review? memory management in C
- Next by thread: Re: Code Review? memory management in C
- Index(es):
Relevant Pages
|