summaryrefslogtreecommitdiff
path: root/readclose.h
blob: 0e142dd37b4897881d7ff62cd472eac126f889c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef READCLOSE_H
#define READCLOSE_H

/* for ssize_t */
#include <sys/types.h>

#include "stralloc.h"

#ifdef __cplusplus
extern "C" {
#endif

ssize_t readclose_append(int fd,stralloc *buf,size_t initlen);
ssize_t readclose(int fd,stralloc *buf,size_t initlen);

#ifdef __cplusplus
}
#endif

#endif