tty Class Reference

#include <shared.h>

Inheritance diagram for tty:

tty_min

Public Member Functions

void init ()
HANDLE create_inuse (const char *)
BOOL common_init (fhandler_pty_master *)
BOOL alive (const char *fmt)
BOOL slave_alive ()
BOOL master_alive ()
HWND gethwnd ()
void sethwnd (HWND wnd)
int make_pipes (fhandler_pty_master *ptym)
HANDLE open_output_mutex (BOOL inherit=FALSE)
BOOL exists ()

Data Fields

HWND hwnd
DWORD master_pid
HANDLE from_master
HANDLE to_slave
HANDLE from_slave
HANDLE to_master
int read_retval
BOOL was_opened

Private Member Functions

HANDLE get_event (const char *fmt, BOOL inherit)

Detailed Description

Definition at line 434 of file shared.h.


Member Function Documentation

BOOL tty::alive const char *  fmt  ) 
 

BOOL tty::common_init fhandler_pty_master *   ) 
 

HANDLE tty::create_inuse const char *   ) 
 

BOOL tty::exists  )  [inline]
 

Definition at line 463 of file shared.h.

References CloseHandle(), open_output_mutex(), and slave_alive().

HANDLE tty::get_event const char *  fmt,
BOOL  inherit
[private]
 

HWND tty::gethwnd  )  [inline]
 

Definition at line 454 of file shared.h.

References hwnd.

void tty::init  ) 
 

int tty::make_pipes fhandler_pty_master *  ptym  ) 
 

BOOL tty::master_alive  ) 
 

HANDLE tty::open_output_mutex BOOL  inherit = FALSE  )  [inline]
 

Definition at line 457 of file shared.h.

References __small_sprintf(), buf, tty_min::ntty, and OUTPUT_MUTEX.

Referenced by exists().

void tty::sethwnd HWND  wnd  )  [inline]
 

Definition at line 455 of file shared.h.

References hwnd.

BOOL tty::slave_alive  ) 
 

Referenced by exists().


Field Documentation

HANDLE tty::from_master
 

Definition at line 442 of file shared.h.

HANDLE tty::from_slave
 

Definition at line 443 of file shared.h.

HWND tty::hwnd
 

Definition at line 438 of file shared.h.

Referenced by gethwnd(), and sethwnd().

DWORD tty::master_pid
 

Definition at line 440 of file shared.h.

int tty::read_retval
 

Definition at line 445 of file shared.h.

HANDLE tty::to_master
 

Definition at line 443 of file shared.h.

HANDLE tty::to_slave
 

Definition at line 442 of file shared.h.

BOOL tty::was_opened
 

Definition at line 446 of file shared.h.


The documentation for this class was generated from the following file:
Generated on Sun Mar 12 23:56:39 2006 for ScriptBasic by  doxygen 1.4.6-NO