source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/legacy/isastream.c@
373
Last change on this file since 373 was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 108 bytes |
Line | |
---|---|
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.