diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-30 18:23:40 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-30 18:23:40 +0000 |
commit | bfc27bae1acb55886146a7c67f85cf752b5d532c (patch) | |
tree | b50cd33ffa95c856e6d7d1e6bc506acc643e8f7e /newlib/libc/stdio/fvwrite.c | |
parent | 1bf83a86f6487859997dd2161a408df6be9f032a (diff) | |
download | cygnal-bfc27bae1acb55886146a7c67f85cf752b5d532c.tar.gz cygnal-bfc27bae1acb55886146a7c67f85cf752b5d532c.tar.bz2 cygnal-bfc27bae1acb55886146a7c67f85cf752b5d532c.zip |
* Various formatting and whitespace changes.
Diffstat (limited to 'newlib/libc/stdio/fvwrite.c')
-rw-r--r-- | newlib/libc/stdio/fvwrite.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/newlib/libc/stdio/fvwrite.c b/newlib/libc/stdio/fvwrite.c index 8e7d316fb..62d0ba072 100644 --- a/newlib/libc/stdio/fvwrite.c +++ b/newlib/libc/stdio/fvwrite.c @@ -67,17 +67,17 @@ __sfvwrite (fp, uio) if (fp->_flags & __SCLE) /* text mode */ { do - { - GETIOV (;); - while (len > 0) - { - if (putc(*p, fp) == EOF) - return EOF; - p++; - len--; - uio->uio_resid--; - } - } + { + GETIOV (;); + while (len > 0) + { + if (putc(*p, fp) == EOF) + return EOF; + p++; + len--; + uio->uio_resid--; + } + } while (uio->uio_resid > 0); return 0; } |