Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin Subject: Re: getting dos path from cygwin (programmatically) Message-ID: <20020411122427.T1127@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <326371009 DOT 20020410170939 AT syntrex DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.22.1i On Thu, Apr 11, 2002 at 09:46:30AM +0200, Andreas Ames wrote: > Hi all, > > Pavel Tsekov 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 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/