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