delorie.com/archives/browse.cgi | search |
From: | Morten Welinder <terra AT diku DOT dk> |
Date: | Sat, 22 Apr 1995 17:11:57 +0200 |
To: | bdavidson AT ra DOT isisnet DOT com |
Cc: | babcock AT cfa DOT harvard DOT edu, bob AT xnet DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: TTY Flags |
On Fri, 21 Apr 1995, Bob Babcock wrote: > Here's how I check whether input has been redirected: > Redirected = !(ioctl(0,0) & 0x80); Correct me if I am wrong, but I don't think djgpp has ioctl() in the library. It hasn't, but one has been _discussed_ for V2. Its functionality, however, is the Unix-style ioctl. Please use another name for Dos' if you write it so names don't clash in the future. I suggest dos_ioctl. Morten
webmaster | delorie software privacy |
Copyright � 2019 by DJ Delorie | Updated Jul 2019 |