Some compilers complain that result might be used uninitialized in
this function. I believe such compilers simply aren't looking hard
enough, but it's easy enough to silence them.
ssize_t
getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp)
{
ssize_t
getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp)
{
size_t cur_len = 0;
if (lineptr == NULL || n == NULL || fp == NULL)
size_t cur_len = 0;
if (lineptr == NULL || n == NULL || fp == NULL)