3 #ifdef _FVWRITE_IN_STREAMIO
10 extern int __ssputs_r (struct _reent
*ptr
, FILE *fp
, const char *buf
,
14 __sswprint_r (struct _reent
*ptr
,
16 register struct __suio
*uio
)
18 register struct __siov
*iov
= uio
->uio_iov
;
22 while (uio
->uio_resid
> 0 && uio
->uio_iovcnt
-- > 0) {
23 if ((len
= iov
->iov_len
) > 0) {
24 if (__ssputs_r (ptr
, fp
, iov
->iov_base
,
25 len
* sizeof (wchar_t)) == EOF
) {
29 uio
->uio_resid
-= len
; /* pretend we copied all */