#include <stropts.h>
#include <fcntl.h>
int isastream(int fd)
{
return fcntl(fd, F_GETFD) < 0 ? -1 : 0;
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif
![]() |
index : grovel | |
| Unnamed repository; edit this file 'description' to name the repository. | External SSH Git service user |
| aboutsummaryrefslogtreecommitdiff |
#include <stropts.h>
#include <fcntl.h>
int isastream(int fd)
{
return fcntl(fd, F_GETFD) < 0 ? -1 : 0;
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif