1 #ifndef READCLOSE_H 2 #define READCLOSE_H 3 4 /* for ssize_t */ 5 #include <sys/types.h> 6 7 #include "stralloc.h" 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 ssize_t readclose_append(int fd,stralloc *buf,size_t initlen); 14 ssize_t readclose(int fd,stralloc *buf,size_t initlen); 15 16 #ifdef __cplusplus 17 } 18 #endif 19 20 #endif 21