cygwin_win32_to_posix_path_list_buf_size

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

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