diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-20 20:15:32 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-12-20 20:15:32 -0800 |
commit | 81f1c64e30d2ea59604a628bca9f1d04b1f82afb (patch) | |
tree | 24fef6ba91ee63db41bbf6940dd2e8bdc348ac89 /lib/getline.c | |
download | wget-81f1c64e30d2ea59604a628bca9f1d04b1f82afb.tar.gz wget-81f1c64e30d2ea59604a628bca9f1d04b1f82afb.tar.bz2 wget-81f1c64e30d2ea59604a628bca9f1d04b1f82afb.zip |
Imported Upstream version 1.13.4upstream/1.13.4
Diffstat (limited to 'lib/getline.c')
-rw-r--r-- | lib/getline.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/getline.c b/lib/getline.c new file mode 100644 index 0000000..ab25df8 --- /dev/null +++ b/lib/getline.c @@ -0,0 +1,31 @@ +/* -*- buffer-read-only: t -*- vi: set ro: */ +/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ +/* getline.c --- Implementation of replacement getline function. + Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 3, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ + +/* Written by Simon Josefsson. */ + +#include <config.h> + +#include <stdio.h> + +ssize_t +getline (char **lineptr, size_t *n, FILE *stream) +{ + return getdelim (lineptr, n, '\n', stream); +} |