7
/* This write is patient because it restarts if it was incomplete.
10
static inline ssize_t patient_write(int fd, const void *buf, size_t count)
12
const char *bufc = (const char *) buf;
16
result = write(fd, bufc, count);
17
if(result == -1 && errno == EINTR) {
31
return bufc-(const char *)buf;
34
#endif /* UST_SHARE_H */