/*
* Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
static int
ssize_t i;
for (i = 0;
i < count;
{
/* Just ignore the trailing newline */
if (buf[i] == '\n')
continue;
return 0;
}
return 1;
}
int
{
int ret;
int fd;
ret = EXIT_FAILURE;
fd = -1;
length = 0;
if (argc != 2) {
goto out;
}
if (fd == -1)
goto out;
start = 0;
if (count < 0)
goto out;
goto out;
}
ret = EXIT_SUCCESS;
out:
if (fd != -1)
return (ret);
}