home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / libio-4.6.26 / stdio / getline.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-20  |  264 b   |  14 lines

  1. #include "libioP.h"
  2. #include "stdio.h"
  3.  
  4. /* NOTE:  This geline function is different from _IO_getline.  */
  5.  
  6. _IO_ssize_t
  7. getline (lineptr, linelen, fp)
  8.      char** lineptr;
  9.      size_t* linelen;
  10.      FILE* fp;
  11. {
  12.   return _IO_getdelim (lineptr, linelen, '\n', fp);
  13. }
  14.