2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-31 04:04:35 +08:00
gcc/libio/stdio/getline.c
Jason Merrill 6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00

14 lines
264 B
C

#include "libioP.h"
#include "stdio.h"
/* NOTE: This geline function is different from _IO_getline. */
_IO_ssize_t
getline (lineptr, linelen, fp)
char** lineptr;
size_t* linelen;
FILE* fp;
{
return _IO_getdelim (lineptr, linelen, '\n', fp);
}