"Fossies" - the Fresh Open Source Software Archive
Member "leafnode-1.12.0/getline.h" (30 Jan 2009, 1243 Bytes) of package /linux/misc/leafnode-1.12.0.tar.xz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard
) with prefixed line numbers and code folding
Alternatively you can here view
the uninterpreted source code file.
For more information about "getline.h" see the Fossies "Dox" file reference
2 getaline - fetch a single line from a stdio stream, arbitrary length
3 Copyright (C) 2000 - 2002 Matthias Andree
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 As special permission, when linked against the leafnode package,
11 leafnode programs themselves need not be put under the GPL.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef GETLINE_H
24 #define GETLINE_H
26 #include <sys/types.h>
27 #include "config.h"
29 /* from getline.c */
30 #ifndef HAVE_GETLINE
31 ssize_t getline(char **, size_t *, FILE *); /* fgets replacement */
33 ssize_t _getline(char *to, size_t size, FILE * stream);