6 #ifndef __XSTREAM_POSIX_H
7 #define __XSTREAM_POSIX_H
69 fd(
int fd,
bool close=
false);
80 std::streamsize read(
char*
buffer, std::streamsize len);
99 std::streamsize write(
const char*
buffer, std::streamsize len);
void check_return(int code, const std::string &call)
checks the return code of a syscall and raises apropriate exception if needed