blob: 636bce93b965f733b3fa4488765e85a9fdd9c938 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <unistd.h>
#include <errno.h>
#include <skalibs/allreadwrite.h>
int fd_write (int fd, char const *buf, unsigned int len)
{
register int r ;
do r = write(fd, buf, len) ;
while ((r == -1) && (errno == EINTR)) ;
return r ;
}
|