repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix build regression on armhf in tlsdesc asm
[musl.git]
/
src
/
legacy
/
isastream.c
blob
4dafdb08210f5617d2ce116e1530e603b7490caf
1
#include <stropts.h>
2
#include <fcntl.h>
3
4
int
isastream
(
int
fd
)
5
{
6
return
fcntl
(
fd
,
F_GETFD
) <
0
? -
1
:
0
;
7
}