This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: small inter-operability patch for vim 6.1.2 for Cygwin
On Mon, Apr 22, 2002 at 09:18:40PM +0200, Bram Moolenaar wrote:
> Corinna Vinschen wrote:
> > #include <sys/cygwin.h>
> >
> > 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@yahoo.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@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/