delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 9 Jan 2004 00:26:10 -1000 |
From: | Antonio Querubin <tony AT lava DOT net> |
X-X-Sender: | tony AT tempura |
To: | cygwin AT cygwin DOT com |
Subject: | detecting runtime environment |
Message-ID: | <Pine.CYG.4.58.0401090019340.352@tempura> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
I want a program (written in C) to behave a little differently depending on whether it's started in a cygwin window or started from a DOS/Windows command prompt window. Is there a standard method for detecting, at run-time, which environment a program was started in? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |