From ae8547442be050ac348b805b4cb72ee239670c2f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 18 Dec 2009 10:11:56 +0000 Subject: [PATCH] * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter. (func-cygwin-conv-path-list): Fix typo. (func-cygwin-posix-path-list-p): Ditto. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/path.sgml | 15 +++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 043fda876..8445b7dbd 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2009-12-18 Corinna Vinschen + + * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter. + (func-cygwin-conv-path-list): Fix typo. + (func-cygwin-posix-path-list-p): Ditto. + 2009-12-17 Corinna Vinschen * syscalls.cc (try_to_bin): Handle remote shares as well. Just rename diff --git a/winsup/cygwin/path.sgml b/winsup/cygwin/path.sgml index 249f48de7..26c3ea34e 100644 --- a/winsup/cygwin/path.sgml +++ b/winsup/cygwin/path.sgml @@ -35,10 +35,11 @@ default. CCP_RELATIVE = 0x100 /* Request to keep path relative. */ -If size is 0, -cygwin_conv_path just returns the required buffer -size in bytes. Otherwise, it returns 0 on success, or -1 on error and -errno is set to one of the below values. +size is the size of the buffer pointed to +by to in bytes. If size +is 0, cygwin_conv_path just returns the required +buffer size in bytes. Otherwise, it returns 0 on success, or -1 on +error and errno is set to one of the below values. EINVAL what has an invalid value. @@ -80,7 +81,7 @@ else extern "C" ssize_t -cygwin_conv_path +cygwin_conv_path_list cygwin_conv_path_t what const void * from void * to @@ -95,6 +96,8 @@ 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 cygwin_conv_path @@ -134,7 +137,7 @@ errno can be set to the below value. extern "C" int -posix_path_list_p +cygwin_posix_path_list_p const char *path