source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/legacy/isastream.c@
337
Last change on this file since 337 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 108 bytes |
Rev | Line | |
---|---|---|
[337] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.