cygwin_attach_handle_to_fd(3) Programmer's Manualcygwin_attach_handle_to_fd(3)NAMEcygwin_attach_handle_to_fdSYNOPSIS
extern "C" int
cygwin_attach_handle_to_fd (char * name, int fd, HANDLE handle, int
bin, int access);
DESCRIPTION
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.
COPYRIGHT
Cygwin is Copyright (C) 1995-2010 Red Hat, Inc.
Cygwin is Free software; for complete licensing information, refer to:
http://cygwin.com/licensing.html
SEE ALSO
The full documentation to the Cygwin API is maintained on the web at:
http://cygwin.com/cygwin-api/cygwin-api.html
The website is updated more frequently than the man pages and should be
considered the authoritative source of information.
Cygwin April 2010 cygwin_attach_handle_to_fd(3)