]> git.notmuchmail.org Git - notmuch/blob - config/have_getline.c
TODO: Note that '=' should sometimes count from the end of the buffer.
[notmuch] / config / have_getline.c
1 #define _GNU_SOURCE
2 #include <stdio.h>
3 #include <sys/types.h>
4
5 int main()
6 {
7     ssize_t count = 0;
8     size_t n = 0;
9     char **lineptr = NULL;
10     FILE *stream = NULL;
11
12     count = getline(lineptr, &n, stream);
13 }