Sign in
fuchsia
/
zircon
/
8202af63a98f14708f83fe7e9193b16d7db49ac7
/
.
/
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
;
}