delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/07/17:02:54

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankar AT cotagesoft DOT com>
Subject: Re: posix and win32 enviornment
Date: Mon, 07 Jul 2003 14:01:43 -0700
Lines: 18
Message-ID: <becn3d$r84$1@main.gmane.org>
References: <20030703011825 DOT 5597 DOT qmail AT web14202 DOT mail DOT yahoo DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0307022122010 DOT 17919-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
In-Reply-To: <Pine.GSO.4.44.0307022122010.17919-100000@slinky.cs.nyu.edu>

Igor Pechtchanski wrote:

> [...] you'll be using the MinGW libraries, and your
> program will not understand POSIX paths (i.e., you'll have to use Win32
> ones).

Well, to be totally, utterly nitpicky, I believe "/WinNT/System32" is a 
valid POSIX filename which will be understood by Win32 programs as well 
(assuming that their current drive is "C:" :-). At the API layer, Win32 
makes no distinction between "\" and "/" for filename separators (you 
can even open "//hostname/sharename/filename" from a Win32 program).

The \-/ distinction is mainly at the command level, where most MSFT 
commands interpret "/" as an option prefix.

But yes, you won't see your Cygwin mounts like "/usr/bin" from a MinGW 
(==Win32) program..



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019