Logo Search packages:      
Sourcecode: iterm version File versions  Download package

void TtyTerminalIO_destroy ( TerminalIO tio  ) 

TTYIO Destructor.

Parameters:
tio reference to ttyio object

Definition at line 379 of file ttyio.c.

References TtyTerminalIO_destroy().

Referenced by TtyTerminalIO_destroy().

{
  if(tio != NULL)
  {
    if(!tio->concrete_io->closed)
        delete_utmp(tio->concrete_io->slave_name);
    if(tio->concrete_io != NULL)
        free(tio->concrete_io);
    free(tio);
  }
}


Generated by  Doxygen 1.6.0   Back to index