Mercurial > hg > octave-nkf > gnulib-hg
view lib/getstr.h @ 4103:a615f32b9998
Avoid function names used in standard libraries.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 31 Dec 2002 12:59:53 +0000 |
parents | 7ca3a124cbb7 |
children |
line wrap: on
line source
#ifndef GETSTR_H_ # define GETSTR_H_ 1 # include <stdio.h> # ifndef PARAMS # if defined PROTOTYPES || (defined __STDC__ && __STDC__) # define PARAMS(Args) Args # else # define PARAMS(Args) () # endif # endif /* Avoid collision with getstr() from libcurses. */ #define getstr getdelim2 int getstr PARAMS ((char **lineptr, size_t *n, FILE *stream, int delim1, int delim2, size_t offset)); #endif