mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48: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
|
@ -37,13 +37,10 @@ ssize_t sys_writev_vga(struct Fd *fd, const struct iovec *iov, int iovlen) {
|
|||
void *output = iov[i].iov_base;
|
||||
size_t len = iov[i].iov_len;
|
||||
res = _TtyWrite(&_vga_tty, output, len);
|
||||
if (res < 0)
|
||||
break;
|
||||
if (res < 0) break;
|
||||
wrote += res;
|
||||
if (res != len)
|
||||
return wrote;
|
||||
if (res != len) return wrote;
|
||||
}
|
||||
if (!wrote)
|
||||
return res;
|
||||
if (!wrote) return res;
|
||||
return wrote;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue