mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
d8192a4d7f
It makes sense to me to have the little tests for functionality right next to the comptability implementations of that same functionality. But also, this means I can now tab-complete ./configure from the three initial characters (rather than the seven required previously).
13 lines
214 B
C
13 lines
214 B
C
#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);
|
|
}
|