www.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: | Thu, 11 Apr 2002 12:24:27 +0200 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | cygwin <cygwin AT cygwin DOT com> |
Subject: | Re: getting dos path from cygwin (programmatically) |
Message-ID: | <20020411122427.T1127@cygbert.vinschen.de> |
Mail-Followup-To: | cygwin <cygwin AT cygwin DOT com> |
References: | <326371009 DOT 20020410170939 AT syntrex DOT com> <uzo0an0dl DOT fsf AT tenovis DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <uzo0an0dl.fsf@tenovis.com> |
User-Agent: | Mutt/1.3.22.1i |
On Thu, Apr 11, 2002 at 09:46:30AM +0200, Andreas Ames wrote: > Hi all, > > Pavel Tsekov <ptsekov AT syntrex DOT com> writes: > > > Yes! Use the cygpath.exe utility. > > I've got a related question: Is there an easy to use interface (say in > cygwin1.dll) to convert paths between cywin and windows conventions > programmatically i.e. directly callable from C-code? If so, which > header(s) do I need? #include <sys/cygwin.h> A look into that file gives you all you need. Please use the "cygwin_XXX" functions rather than the "cygwin32_XXX" functions which are deprecated. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |