2002-09-16 01:09:56 +00:00
|
|
|
#ifndef READCLOSE_H
|
|
|
|
#define READCLOSE_H
|
|
|
|
|
2014-03-14 19:42:54 +00:00
|
|
|
/* for ssize_t */
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
2002-09-16 01:09:56 +00:00
|
|
|
#include "stralloc.h"
|
|
|
|
|
2012-02-07 17:02:40 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-03-14 19:42:54 +00:00
|
|
|
ssize_t readclose_append(int fd,stralloc *buf,size_t initlen);
|
|
|
|
ssize_t readclose(int fd,stralloc *buf,size_t initlen);
|
2002-09-16 01:09:56 +00:00
|
|
|
|
2012-02-07 17:02:40 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2002-09-16 01:09:56 +00:00
|
|
|
#endif
|