You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
280 B
C
13 lines
280 B
C
7 years ago
|
#ifndef MYGETLINE_H
|
||
6 years ago
|
#define MYGETLINE_H
|
||
7 years ago
|
|
||
|
//#include "config.h"
|
||
|
|
||
|
#if !HAVE_GETLINE
|
||
|
#include <stdio.h>
|
||
|
ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp);
|
||
|
#define getline(lineptr, n, stream) getdelim (lineptr, n, '\n', stream)
|
||
|
#endif
|
||
|
|
||
|
#endif // MYGETLINE_H
|