aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat/have_getline.c
blob: a8bcd17e8dcc15f5f3d32f3c23b86ac0bb5c4305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#define _GNU_SOURCE
#include <stdio.h>
#include <sys/types.h>

int main()
{
    ssize_t count = 0;
    size_t n = 0;
    char **lineptr = NULL;
    FILE *stream = NULL;

    count = getline(lineptr, &n, stream);
}