This commit is contained in:
elvis
2022-03-31 22:26:44 +02:00
parent e86f981972
commit a5371ad4c7
6 changed files with 258 additions and 26 deletions

View File

@ -50,7 +50,7 @@ static inline int writen(long fd, void *buf, size_t size) {
int r;
char *bufptr = (char*)buf;
while(left>0) {
if ((r=write((int)fd ,bufptr,left)) == -1) {
if ((r=write((int) fd, bufptr, left)) == -1) {
if (errno == EINTR) continue;
return -1;
}