| 2891 | return static_cast<int>(read(fd, buf, count)); |
| 2892 | } |
| 2893 | inline int Write(int fd, const void* buf, unsigned int count) { |
| 2894 | return static_cast<int>(write(fd, buf, count)); |
| 2895 | } |
| 2896 | inline int Close(int fd) { return close(fd); } |
| 2897 | inline const char* StrError(int errnum) { return strerror(errnum); } |
| 2898 | #endif |