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 © Cygwin authors

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.