diff --git a/winsup/cygwin/dll_init.sgml b/winsup/cygwin/dll_init.sgml index 38070390c..a66c43cb6 100644 --- a/winsup/cygwin/dll_init.sgml +++ b/winsup/cygwin/dll_init.sgml @@ -2,10 +2,10 @@ cygwin_detach_dll - + extern "C" void cygwin_detach_dll int dll_index - + diff --git a/winsup/cygwin/dtable.sgml b/winsup/cygwin/dtable.sgml index 9f292ee73..73d8b78cc 100644 --- a/winsup/cygwin/dtable.sgml +++ b/winsup/cygwin/dtable.sgml @@ -2,7 +2,7 @@ cygwin_attach_handle_to_fd - + extern "C" int cygwin_attach_handle_to_fd char *name @@ -10,7 +10,7 @@ HANDLE handle int bin int access - + This function can be used to turn a Win32 "handle" into a posix-style file handle. fd may be -1 to diff --git a/winsup/cygwin/external.sgml b/winsup/cygwin/external.sgml index 270eede4d..bbfdd0fb8 100644 --- a/winsup/cygwin/external.sgml +++ b/winsup/cygwin/external.sgml @@ -2,12 +2,12 @@ cygwin_internal - + extern "C" DWORD cygwin_internal cygwin_getinfo_types t ... - + This function gives you access to various internal data and functions. It takes two arguments. The first argument is a type from the 'cygwin_getinfo_types' diff --git a/winsup/cygwin/path.sgml b/winsup/cygwin/path.sgml index 6030c8f78..8efa53f14 100644 --- a/winsup/cygwin/path.sgml +++ b/winsup/cygwin/path.sgml @@ -1,12 +1,12 @@ cygwin_posix_to_win32_path_list - + extern "C" void cygwin_posix_to_win32_path_list const char *posix char *win32 - + Given a POSIX path-style string (i.e. /foo:/bar) convert it to the equivalent Win32 path-style string (i.e. d:\;e:\bar). @@ -38,12 +38,12 @@ cygwin_posix_to_win32_path_list_buf_size cygwin_win32_to_posix_path_list - + extern "C" void cygwin_win32_to_posix_path_list const char *win32 char *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). @@ -57,11 +57,11 @@ cygwin_win32_to_posix_path_list_buf_size cygwin_posix_to_win32_path_list_buf_size - + extern "C" int cygwin_posix_to_win32_path_list_buf_size const char *path_list - + Returns the number of bytes needed to hold the result of calling @@ -72,11 +72,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_size const char *path_list - + Tells you how many bytes are needed for the results of @@ -87,12 +87,12 @@ cygwin_win32_to_posix_path_list. cygwin_conv_to_posix_path - + extern "C" void cygwin_conv_to_posix_path const char *path char *posix_path - + Converts a Win32 path to a POSIX path. If path is already a POSIX path, leaves it alone. @@ -106,12 +106,12 @@ size; use MAX_PATH if needed. cygwin_conv_to_win32_path - + extern "C" void cygwin_conv_to_win32_path const char *path char *win32_path - + Converts a POSIX path to a Win32 path. If path is already a Win32 path, leaves it alone. @@ -124,12 +124,12 @@ size; use MAX_PATH if needed. cygwin_conv_to_full_posix_path - + extern "C" void cygwin_conv_to_full_posix_path const char *path char *posix_path - + Converts a Win32 path to a POSIX path. If path is already a POSIX path, leaves it alone. @@ -143,12 +143,12 @@ buffer of sufficient size; use MAX_PATH if needed. cygwin_conv_to_full_win32_path - + extern "C" void cygwin_conv_to_full_win32_path const char *path char *win32_path - + Converts a POSIX path to a Win32 path. If path is already a Win32 path, leaves it alone. @@ -162,11 +162,11 @@ buffer of sufficient size; use MAX_PATH if needed. cygwin_posix_path_list_p - + extern "C" int posix_path_list_p const char *path - + This function tells you if the supplied path is a POSIX-style path (i.e. posix names, @@ -181,14 +181,14 @@ parameter. cygwin_split_path - + extern "C" void cygwin_split_path const char * path char * dir char * file - + Split a path into the directory and the file portions. Both dir and file are diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 0dd465ae4..f467d7e87 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -617,12 +617,12 @@ pinfo::release () cygwin_winpid_to_pid - + extern "C" pid_t cygwin_winpid_to_pid int winpid - + Given a windows pid, converts to the corresponding Cygwin pid, if any. Returns -1 if windows pid does not correspond to diff --git a/winsup/cygwin/shared.sgml b/winsup/cygwin/shared.sgml index f43d654e2..d55eb6e65 100644 --- a/winsup/cygwin/shared.sgml +++ b/winsup/cygwin/shared.sgml @@ -2,11 +2,11 @@ cygwin_getshared - + shared_info * cygwin_getshared - + Returns a pointer to an internal Cygwin memory structure containing shared information used by cooperating cygwin processes. diff --git a/winsup/cygwin/stackdump.sgml b/winsup/cygwin/stackdump.sgml index bff76bffd..e0ac0e0fc 100644 --- a/winsup/cygwin/stackdump.sgml +++ b/winsup/cygwin/stackdump.sgml @@ -1,11 +1,11 @@ cygwin_stackdump - + extern "C" void cygwin_stackdump - + Outputs a stackdump to stderr from the called location.