Logo Search packages:      
Sourcecode: pax version File versions  Download package

fgetln.h

/* fgetline:  Read one line of input and return a pointer to
   that line.  Necessary space is obtained from malloc.
   (char *) NULL is returned on EOF.

    Andy Dougherty            doughera@lafcol.lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042

    This fgetline implementation was written by Andrew Dougherty
    <doughera@lafayette.edu>.  I hearby place it in the public domain.
    As a courtesy, please leave my name attached to the source.

    This code comes with no warranty whatsoever, and I take no
    responsibility for any consequences of its use.
*/

char *fgetln(FILE *fp, size_t *length);

Generated by  Doxygen 1.6.0   Back to index