3 #ifdef _FVWRITE_IN_STREAMIO
9 extern int __ssputs_r (struct _reent
*ptr
, FILE *fp
, const char *buf
,
13 __ssprint_r (struct _reent
*ptr
,
15 register struct __suio
*uio
)
17 register struct __siov
*iov
= uio
->uio_iov
;
21 while (uio
->uio_resid
> 0 && uio
->uio_iovcnt
-- > 0) {
22 if ((len
= iov
->iov_len
) > 0) {
23 if (__ssputs_r (ptr
, fp
, iov
->iov_base
, len
) == EOF
) {
27 uio
->uio_resid
-= len
; /* pretend we copied all */