"Fossies" - the Fresh Open Source Software Archive

Member "cvs-1.11.23/lib/getline.h" (4 Apr 2005, 552 Bytes) of package /linux/misc/old/cvs-1.11.23.tar.gz:


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 option. Alternatively you can here view or download the uninterpreted source code file. For more information about "getline.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef _getline_h_
    2 #define _getline_h_ 1
    3 
    4 #include <stdio.h>
    5 
    6 #if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
    7 #define __PROTO(args) args
    8 #else
    9 #define __PROTO(args) ()
   10 #endif  /* GCC.  */
   11 
   12 #define GETLINE_NO_LIMIT -1
   13 
   14 int
   15   getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
   16 int
   17   getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
   18                          int limit));
   19 int
   20   getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
   21            int _terminator, int _offset, int limit));
   22 
   23 #endif /* _getline_h_ */