Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/libarchive/libarchive_fe/lafe_getline.h
288964 views
1
/*-
2
* SPDX-License-Identifier: BSD-2-Clause
3
*
4
* Copyright (c) 2011 The NetBSD Foundation, Inc.
5
* All rights reserved.
6
*/
7
8
#ifndef LAFE_GETLINE_H_INCLUDED
9
#define LAFE_GETLINE_H_INCLUDED
10
11
#include "lafe_platform.h"
12
13
#ifndef HAVE_GETLINE
14
#ifdef HAVE_STDINT_H
15
#include <stdint.h>
16
#endif
17
#ifdef HAVE_STDIO_H
18
#include <stdio.h>
19
#endif
20
ssize_t getline(char **buf, size_t *bufsiz, FILE *fp);
21
#endif
22
23
#endif /* !LAFE_GETLINE_H_INCLUDED */
24
25