12 r = read(fd,sa->s + sa->len,bufsize);
13 if (r == -1)
if (errno ==
error_intr)
continue;
14 if (r <= 0) { close(fd);
return r; }
19 int readclose(
int fd,stralloc *sa,
unsigned int bufsize)
int stralloc_readyplus(stralloc *, unsigned int)
int readclose_append(int fd, stralloc *sa, unsigned int bufsize)
int readclose(int fd, stralloc *sa, unsigned int bufsize)
int stralloc_copys(stralloc *, const char *)