diff options
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index f3794f521..3c9e51981 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -113,7 +113,6 @@ extern int dynamically_loaded; extern HANDLE hMainThread; extern HANDLE hMainProc; -/* Now that pinfo has been defined, include... */ #include "debug.h" #include "sync.h" #include "sigproc.h" @@ -131,36 +130,6 @@ extern "C" per_process __cygwin_user_data; /* Pointer into application's static Do not change this value. */ #define SIZEOF_PER_PROCESS (42 * 4) -class dtable -{ - fhandler_base **fds; - fhandler_base **fds_on_hold; - int first_fd_for_open; -public: - size_t size; - dtable () {first_fd_for_open = 3;} - int vfork_child_dup (); - void vfork_parent_restore (); - fhandler_base *dup_worker (fhandler_base *oldfh); - int extend (int howmuch); - void fixup_after_fork (HANDLE parent); - fhandler_base *build_fhandler (int fd, DWORD dev, const char *name, - int unit = -1); - fhandler_base *build_fhandler (int fd, const char *name, HANDLE h); - int not_open (int n); - int find_unused_handle (int start); - int find_unused_handle () { return find_unused_handle (first_fd_for_open);} - void release (int fd); - void init_std_file_from_handle (int fd, HANDLE handle, DWORD access, const char *name); - int dup2 (int oldfd, int newfd); - int linearize_fd_array (unsigned char *buf, int buflen); - LPBYTE de_linearize_fd_array (LPBYTE buf); - fhandler_base *operator [](int fd) { return fds[fd]; } - select_record *select_read (int fd, select_record *s); - select_record *select_write (int fd, select_record *s); - select_record *select_except (int fd, select_record *s); -}; - /******************* Host-dependent constants **********************/ /* Portions of the cygwin DLL require special constants whose values are dependent on the host system. Rather than dynamically @@ -320,11 +289,6 @@ void environ_init (int); void heap_init (void); void malloc_init (void); -/* fd table */ -void fdtab_init (void); -void stdio_init (void); -extern dtable fdtab; - /* UID/GID */ void uinfo_init (void); |