mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Run clang-format on most sources
This commit is contained in:
parent
614229e3f4
commit
369f9740de
228 changed files with 4844 additions and 4637 deletions
|
@ -45,13 +45,10 @@ ssize_t sys_readv_vga(struct Fd *fd, const struct iovec *iov, int iovlen) {
|
|||
void *input = iov[i].iov_base;
|
||||
size_t len = iov[i].iov_len;
|
||||
res = _TtyRead(&_vga_tty, input, len);
|
||||
if (res < 0)
|
||||
break;
|
||||
if (res < 0) break;
|
||||
redd += res;
|
||||
if (redd != len)
|
||||
return redd;
|
||||
if (redd != len) return redd;
|
||||
}
|
||||
if (!redd)
|
||||
return res;
|
||||
if (!redd) return res;
|
||||
return redd;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue