Sign in
mojo
/
mojo-tools
/
862d13b6f591fb83034e80ed5a8c59fb9d0b7b56
/
.
/
fusl
/
src
/
stdio
/
__stdout_write.c
blob: 5cbe7799d401dd0c65f6c645a1ba68e677be9a01 [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
#include
<unistd.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
);
}