Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!decvax!ucbvax!pasteur!ames!ptsfa!ihnp4!chinet!dag From: dag@chinet.UUCP (Daniel A. Glasser) Newsgroups: comp.sys.atari.st Subject: Re: isatty function missing in both Lattice-C and MWC Message-ID: <2910@chinet.UUCP> Date: 27 Feb 88 06:36:35 GMT References: <880224-080441-2553@Xerox> Reply-To: dag@chinet.UUCP (Daniel A. Glasser) Organization: Chinet - Public Access Unix Lines: 16 Keywords: mwc compiler library isatty Summary: isatty is in MWC and has been for some time. In article <880224-080441-2553@Xerox> "P.J.M._Verbruggen.ven1RX"@XEROX.COM writes: >The isatty (check if file is a terminal) function is not in the libraries of >both MWC and Lattice. The related function getfc is mentioned in the >Lattice manual but not incorporated. I produced a poorman's isatty but >would like to know if someone did a real isatty for the mentioned compilers. homebrew isatty delete] The MWC library does have the "isatty()" function... I just checked. I believe it has had that function since version 1.0, but I can't be sure. It may not be documented, but it is there. You may find doing an "nm -g libc.a" some time -- You'd be suprised to see how many functions are there. If you want a full list of the functions available in the MWC library posted, I'd be happy to do so, but as I work for MWC, some may find the posting to be a commercial use of the net, and I might get zapped for it.