Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
legacy
/
isastream.c
blob: c9cd2ec79aa528954036f3c49ac65e0fb7cd6b7f [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
<stropts.h>
int
isastream
(
int
fd
)
{
return
fcntl
(
fd
,
F_GETFD
)
<
0
?
-
1
:
0
;
}