diff options
Diffstat (limited to 'libio/stdio/getline.c')
-rw-r--r-- | libio/stdio/getline.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libio/stdio/getline.c b/libio/stdio/getline.c new file mode 100644 index 00000000000..6f4b677086e --- /dev/null +++ b/libio/stdio/getline.c @@ -0,0 +1,13 @@ +#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); +} |