cygwin_conv_path() documentation RFE
Warren Young
warren@etr-usa.com
Fri Dec 18 02:29:00 GMT 2009
On this page
http://cygwin.com/1.7/cygwin-api/func-cygwin-conv-path.html
the size parameter should say whether it's measured in bytes or
characters.
For instance, if I pass CCP_POSIX_TO_WIN_W for the first parameter and a
pure ASCII file name for the 'from' parameter, it's obvious the 'to'
buffer needs to be at least 2x the size of 'from'. The question the
docs don't answer is whether I should pass >= 2*(strlen(from)+1) for
size or >= strlen(from)+1?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list