summaryrefslogtreecommitdiff
path: root/include/readclose.h
blob: 69264a19d09799e50cc4bb57fff627799865410b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef READCLOSE_H
#define READCLOSE_H

#include "close.h"
#include "stralloc.h"

extern int readclose_append(int, stralloc *, unsigned int);
extern int readclose(int, stralloc *, unsigned int);

#define slurpclose readclose /* backwards compatibility */

extern int openreadclose(const char *, stralloc *, unsigned int);

#endif