Manpage of CYGWIN_POSIX_TO_WIN32_PATH_LIST

Google
Web www.fiveanddime.net

CYGWIN_POSIX_TO_WIN32_PATH_LIST

Section: C Library Functions (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

cygwin_posix_to_win32_path_list  

SYNOPSIS

extern "C" void
cygwin_posix_to_win32_path_list (const char * posix, char * win32);

 

DESCRIPTION

Given a POSIX path-style string (i.e. /foo:/bar) convert it to the equivalent Win32 path-style string (i.e. d:\;e:\bar). win32 must point to a sufficiently large buffer.

 

EXAMPLE


char *_epath;
char *_win32epath;
_epath = _win32epath = getenv (NAME);
/* If we have a POSIX path list, convert to win32 path list */
if (_epath != NULL && *_epath != 0

    && cygwin_posix_path_list_p (_epath))

  {

    _win32epath = (char *) xmalloc

      (cygwin_posix_to_win32_path_list_buf_size (_epath));

    cygwin_posix_to_win32_path_list (_epath, _win32epath);

    }
]]> See also cygwin_posix_to_win32_path_list_buf_size (3)

 

COPYRIGHT

Cygwin is Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.

Cygwin is Free software; for complete licensing information, 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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
COPYRIGHT
MAINTAINER
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:15 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net