C# Class Emul8.Utilities.PtyUnixStream

Inheritance: Stream
Datei anzeigen Open project: emul8/emul8 Class Usage Examples

Private Properties

Property Type Description
Cfmakeraw void
GetPtyName string
Getpt int
Grantpt int
Init void
IsDataAvailable bool
IsDataAvailable bool
OpenPty string
OpenPty void
Ptsname System.IntPtr
Tcgetattr void
Tcsetattr void
Unlockpt int

Public Methods

Method Description
Flush ( ) : void
PtyUnixStream ( ) : System
PtyUnixStream ( string name ) : System
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Cfmakeraw ( IntPtr termios ) : void
GetPtyName ( int fd ) : string
Getpt ( ) : int
Grantpt ( int fd ) : int
Init ( ) : void
IsDataAvailable ( int timeout, bool throwOnError = true ) : bool
IsDataAvailable ( int timeout, int &pollResult ) : bool
OpenPty ( ) : string
OpenPty ( string name ) : void
Ptsname ( int fd ) : IntPtr
Tcgetattr ( int fd, IntPtr termios ) : void
Tcsetattr ( int fd, int attr, IntPtr termios ) : void
Unlockpt ( int fd ) : int

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

PtyUnixStream() public method

public PtyUnixStream ( ) : System
return System

PtyUnixStream() public method

public PtyUnixStream ( string name ) : System
name string
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void