cygwin_win32_to_posix_path_list_buf_size

extern "C" int cygwin_win32_to_posix_path_list_buf_size(const char *path_list);

Tells you how many bytes are needed for the results of cygwin_win32_to_posix_path_list.