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: Mon, 22 Apr 2002 21:39:09 +0200 From: Corinna Vinschen To: Bram Moolenaar Cc: cygwin AT cygwin DOT com, vim-dev AT vim DOT org Subject: Re: small inter-operability patch for vim 6.1.2 for Cygwin Message-ID: <20020422213909.A24499@cygbert.vinschen.de> Reply-To: vim-dev AT vim DOT org Mail-Followup-To: Bram Moolenaar , cygwin AT cygwin DOT com, vim-dev AT vim DOT org References: <20020422211121 DOT B7762 AT cygbert DOT vinschen DOT de> <200204221918 DOT g3MJIev02890 AT moolenaar DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204221918.g3MJIev02890@moolenaar.net> User-Agent: Mutt/1.3.22.1i On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wrote: > Corinna Vinschen wrote: > > #include > > > > cygwin_conv_to_posix_path(const char *win_path, char *posix_path); > > That sounds like something we can use. But lacking the manual page it's > a bit difficult to know exactly how to call it. Also, can this function > be used when the path is already a "posix" path? Or do we need a test > whether this function needs to be called (a backslash being present). ============= SNIP ============ CYGWIN_CONV_TO_POSIX_PATH(3) CYGWIN_CONV_TO_POSIX_PATH(3) SYNOPSIS extern "C" void cygwin_conv_to_posix_path (const char * path, char * posix_path); DESCRIPTION Converts a Win32 path to a POSIX path. If path is already a POSIX path, leaves it alone. If path is relative, then posix_path will also be relative. Note that posix_path must point to a buffer of sufficient size; use MAX_PATH if needed. COPYRIGHT Cygwin is Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. Cygwin is Free software; for complete licensing informa- tion, refer to: http://cygwin.com/licensing.html MAINTAINER This man page was written and is maintained by Joshua Daniel Franklin, joshuadfranklin AT yahoo DOT com SEE ALSO The full documentation to the Cygwin API is maintained on the web at: http://cygwin.com/cygwin-api/cygwin-api.html The website is updated more frequently than the man pages and should be considered the authoritative source of information. 2002 Apr 12 CYGWIN_CONV_TO_POSIX_PATH(3) ============= SNAP ============ 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/