delorie.com/archives/browse.cgi | search |
Date: | Sun, 2 Mar 1997 13:13:20 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "X DOT PONS AT UAB DOT ES" <ILGES AT cc DOT uab DOT es> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Is stdout the console? |
In-Reply-To: | <01IFXYQFJ23Q00I1MD@cc.uab.es> |
Message-ID: | <Pine.SUN.3.91.970302131303.6609I-100000@is> |
MIME-Version: | 1.0 |
On Fri, 28 Feb 1997, X DOT PONS AT UAB DOT ES wrote: > flag. In fact, if you know some other portable way to know if stdout is the > console or a file it will also be useful to me. Use `isatty' library function. It is a POSIX function and is portable to most C compilers (even TC).
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |