|
|
coherent
/*
* Coherent I/O Library
* Return 1 if file descriptor
* is that of a terminal.
*/
#include <sgtty.h>
isatty(fd)
{
struct sgttyb sgb;
return (ioctl(fd, TIOCGETP, &sgb) >= 0);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.