From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13184 invoked by alias); 11 Apr 2002 10:24:33 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13151 invoked from network); 11 Apr 2002 10:24:28 -0000 Received: from unknown (HELO cygbert.vinschen.de) (217.229.48.86) by sources.redhat.com with SMTP; 11 Apr 2002 10:24:28 -0000 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id g3BAORk19500 for cygwin@cygwin.com; Thu, 11 Apr 2002 12:24:27 +0200 Date: Thu, 11 Apr 2002 06:33:00 -0000 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.20020410170939@syntrex.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 X-SW-Source: 2002-04/txt/msg00610.txt.bz2 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@cygwin.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/