CYGWIN_CONV_PATH_LIST(3)

NAME
cygwin_conv_path_list

SYNOPSIS

#include <sys/cygwin.h>

ssize_t cygwin_conv_path_list(cygwin_conv_path_t what, const void * from, void * to, size_t size);

DESCRIPTION

This is the same as cygwin_conv_path, but the input is treated as a path list in $PATH or %PATH% notation.

If what is CCP_POSIX_TO_WIN_A or CCP_POSIX_TO_WIN_W, given a POSIX $PATH-style string (i.e. /foo:/bar) convert it to the equivalent Win32 %PATH%-style string (i.e. d:\;e:\bar).

If what is CCP_WIN_A_TO_POSIX or CCP_WIN_W_TO_POSIX, given a Win32 %PATH%-style string (i.e. d:\;e:\bar) convert it to the equivalent POSIX $PATH-style string (i.e. /foo:/bar).

size is the size of the buffer pointed to by to in bytes.

SEE ALSO

See also cygwin_conv_path

COPYRIGHT

Copyright © 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc.

Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.