This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
detecting runtime environment
- From: Antonio Querubin <tony at lava dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 9 Jan 2004 00:26:10 -1000
- Subject: detecting runtime environment
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/