notmuch.git  about / heads / tags
Unnamed repository; edit this file 'description' to name the repository.
blob 6952a3b36724bfd771920677740d4c82a76b8efb 216 bytes (raw)
name: compat/have_getline.c 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#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);
}

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

git clone https://yhetil.org/notmuch.git