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/