source:
azure_iot_hub/trunk/musl-1.1.18/src/legacy/isastream.c@
388
Last change on this file since 388 was 388, checked in by , 5 years ago | |
---|---|
|
|
File size: 108 bytes |
Rev | Line | |
---|---|---|
[388] | 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.