cygwin_detach_dll
+extern "C" void
cygwin_detach_dllint dll_index
+
diff --git a/winsup/cygwin/dtable.sgml b/winsup/cygwin/dtable.sgml
index 9f292ee73..5e807883b 100644
--- a/winsup/cygwin/dtable.sgml
+++ b/winsup/cygwin/dtable.sgml
@@ -3,6 +3,7 @@
cygwin_attach_handle_to_fd
+extern "C" int
cygwin_attach_handle_to_fdchar *name
@@ -10,6 +11,7 @@
HANDLE handleint binint access
+This function can be used to turn a Win32 "handle" into a
diff --git a/winsup/cygwin/external.sgml b/winsup/cygwin/external.sgml
index 270eede4d..88d67252f 100644
--- a/winsup/cygwin/external.sgml
+++ b/winsup/cygwin/external.sgml
@@ -3,10 +3,12 @@
cygwin_internal
+extern "C" DWORD
cygwin_internalcygwin_getinfo_types t...
+This function gives you access to various internal data and functions.
diff --git a/winsup/cygwin/path.sgml b/winsup/cygwin/path.sgml
index 6030c8f78..6638e92e5 100644
--- a/winsup/cygwin/path.sgml
+++ b/winsup/cygwin/path.sgml
@@ -2,10 +2,12 @@
cygwin_posix_to_win32_path_list
+extern "C" void
cygwin_posix_to_win32_path_listconst char *posixchar *win32
+Given a POSIX path-style string (i.e. /foo:/bar) convert it to
@@ -39,10 +41,12 @@ cygwin_posix_to_win32_path_list_buf_sizecygwin_win32_to_posix_path_list
+extern "C" void
cygwin_win32_to_posix_path_listconst char *win32char *posix
+Given a Win32 path-style string (i.e. d:\;e:\bar) convert it to
@@ -58,9 +62,11 @@ cygwin_win32_to_posix_path_list_buf_sizecygwin_posix_to_win32_path_list_buf_size
+extern "C" int
cygwin_posix_to_win32_path_list_buf_sizeconst char *path_list
+Returns the number of bytes needed to hold the result of calling
@@ -73,9 +79,11 @@ cygwin_posix_to_win32_path_list.cygwin_win32_to_posix_path_list_buf_size
+extern "C" int
cygwin_win32_to_posix_path_list_buf_sizeconst char *path_list
+Tells you how many bytes are needed for the results of .cygwin_conv_to_posix_path
+extern "C" void
cygwin_conv_to_posix_pathconst char *pathchar *posix_path
+Converts a Win32 path to a POSIX path. If
@@ -107,10 +117,12 @@ size; use MAX_PATH if needed.cygwin_conv_to_win32_path
+extern "C" void
cygwin_conv_to_win32_pathconst char *pathchar *win32_path
+Converts a POSIX path to a Win32 path. If
@@ -125,10 +137,12 @@ size; use MAX_PATH if needed.cygwin_conv_to_full_posix_path
+extern "C" void
cygwin_conv_to_full_posix_pathconst char *pathchar *posix_path
+Converts a Win32 path to a POSIX path. If
@@ -144,10 +158,12 @@ buffer of sufficient size; use MAX_PATH if needed.cygwin_conv_to_full_win32_path
+extern "C" void
cygwin_conv_to_full_win32_pathconst char *pathchar *win32_path
+Converts a POSIX path to a Win32 path. If
@@ -163,9 +179,11 @@ buffer of sufficient size; use MAX_PATH if needed.cygwin_posix_path_list_p
+extern "C" int
posix_path_list_pconst char *path
+This function tells you if the supplied
@@ -182,12 +200,14 @@ parameter.cygwin_split_path
+extern "C" void
cygwin_split_pathconst char * pathchar * dirchar * file
+Split a path into the directory and the file portions. Both
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 834fa8574..2eca86a33 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -610,10 +610,12 @@ pinfo::release ()
cygwin_winpid_to_pid
+ extern "C" pid_t
cygwin_winpid_to_pidint winpid
+ Given a windows pid, converts to the corresponding Cygwin
diff --git a/winsup/cygwin/shared.sgml b/winsup/cygwin/shared.sgml
index f43d654e2..f06f065fa 100644
--- a/winsup/cygwin/shared.sgml
+++ b/winsup/cygwin/shared.sgml
@@ -3,9 +3,11 @@
cygwin_getshared
+shared_info *
cygwin_getshared
+Returns a pointer to an internal Cygwin memory structure
diff --git a/winsup/cygwin/stackdump.sgml b/winsup/cygwin/stackdump.sgml
index bff76bffd..5c209541b 100644
--- a/winsup/cygwin/stackdump.sgml
+++ b/winsup/cygwin/stackdump.sgml
@@ -2,9 +2,11 @@
cygwin_stackdump
+extern "C" void
cygwin_stackdump
+ Outputs a stackdump to stderr from the called location.