Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

ttyio.h File Reference

TtyIO Object definition, which implementers IO Interface . More...

#include <termios.h>
#include <sys/types.h>
#include "iterm/io.h"

Go to the source code of this file.

Functions

TerminalIOTtyTerminalIO_new (int width, int height, char *program_name, char *argv[])
 TTYIO Constructor.

void TtyTerminalIO_destroy (TerminalIO *tio)
 TTYIO Destructor.

int TtyTerminalIO_get_associated_fd (TerminalIO *tio)
 Obtain associated file descriptor.


Detailed Description

TtyIO Object definition, which implementers IO Interface .


Function Documentation

void TtyTerminalIO_destroy TerminalIO   tio
 

TTYIO Destructor.

Parameters:
tio reference to ttyio object

int TtyTerminalIO_get_associated_fd TerminalIO   tio
 

Obtain associated file descriptor.


This is a method only for TtyTerminalIO.

Parameters:
tio reference to ttyio object

TerminalIO* TtyTerminalIO_new int    width,
int    height,
char *    program_name,
char *    argv[]
 

TTYIO Constructor.


Meaings of programe_name and argv are same as execvp(3)

Parameters:
width width of window
height height of window
program_name name of program
argv argments for program terminated by NULL
Returns:
reference to ttyio object


Generated on Sun Dec 29 16:55:32 2002 by doxygen1.3-rc2