delorie.com/archives/browse.cgi | search |
Date: | Tue, 8 Jul 1997 17:03:04 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Christopher Croughton <crough45 AT amc DOT de> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: interesting redir behavior |
In-Reply-To: | <97Jul8.154936gmt+0100.16641@internet01.amc.de> |
Message-ID: | <Pine.SUN.3.91.970708165630.13991G-100000@is> |
MIME-Version: | 1.0 |
On Tue, 8 Jul 1997, Christopher Croughton wrote: > So why (apart from historical reasons) doesn't REDIR use dup2? DJ should answer that. But AFAIK, the way `redir' works is quite common practice; I've seen many programs doing that, and OpenDOS will break all of them. For example, Less is one of them. > And do other redirecting functions like popen() (and system()?) work > on OPENDOS? If memory serves, all of these use `dup2' and/or `freopen'.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |