Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d41cdef9198e635270d30e82be939d4ea0cbce82
/
.
/
src
/
legacy
/
isastream.c
blob: 4dafdb08210f5617d2ce116e1530e603b7490caf [
file
] [
log
] [
blame
]
#include
<stropts.h>
#include
<fcntl.h>
int
isastream
(
int
fd
)
{
return
fcntl
(
fd
,
F_GETFD
)
<
0
?
-
1
:
0
;
}