Chapter 2. Cygwin Functions

Table of Contents
cygwin_attach_handle_to_fd
cygwin_conv_to_full_posix_path
cygwin_conv_to_full_win32_path
cygwin_conv_to_posix_path
cygwin_conv_to_win32_path
cygwin_detach_dll
cygwin_getshared
cygwin_internal
cygwin_posix_path_list_p
cygwin_posix_to_win32_path_list
cygwin_posix_to_win32_path_list_buf_size
cygwin_split_path
cygwin_win32_to_posix_path_list
cygwin_win32_to_posix_path_list_buf_size
cygwin_winpid_to_pid

These functions are specific to Cygwin itself, and probably won't be found anywhere else.

cygwin_attach_handle_to_fd

extern "C" int cygwin_attach_handle_to_fd(char *name, int fd, 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 make cygwin allocate a handle; the actual handle is returned in all cases.