Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
stdio
/
__stdout_write.c
blob: f17e664affaf54775ef14b3a84c872f790873f49 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"stdio_impl.h"
size_t
__stdout_write
(
FILE
*
f
,
const
unsigned
char
*
buf
,
size_t
len
)
{
f
->
write
=
__stdio_write
;
if
(!(
f
->
flags
&
F_SVB
)
&&
!
isatty
(
f
->
fd
))
f
->
lbf
=
-
1
;
return
__stdio_write
(
f
,
buf
,
len
);
}