• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdesu
 

tdesu

Public Member Functions | List of all members
PTY Class Reference

#include <tdesu_pty.h>

Public Member Functions

 PTY ()
 
 ~PTY ()
 
int getpt ()
 
int grantpt ()
 
int unlockpt ()
 
TQCString ptsname ()
 

Detailed Description

PTY compatibility routines.

This class tries to emulate a UNIX98 PTY API on various platforms.

Definition at line 25 of file tdesu_pty.h.

Constructor & Destructor Documentation

◆ PTY()

PTY::PTY ( )

Construct a PTY object.

Definition at line 80 of file tdesu_pty.cpp.

◆ ~PTY()

PTY::~PTY ( )

Destructs the object.

The PTY is closed if it is still open.

Definition at line 85 of file tdesu_pty.cpp.

Member Function Documentation

◆ getpt()

int PTY::getpt ( )

Allocate a pty.

Returns
A filedescriptor to the master side.

Definition at line 94 of file tdesu_pty.cpp.

◆ grantpt()

int PTY::grantpt ( )

Grant access to the slave side.

Returns
Zero if succesfull, < 0 otherwise.

Definition at line 199 of file tdesu_pty.cpp.

◆ ptsname()

TQCString PTY::ptsname ( )

Get the slave name.

Return the slave side name.

Returns
The slave name.

Definition at line 299 of file tdesu_pty.cpp.

◆ unlockpt()

int PTY::unlockpt ( )

Unlock the slave side.

Unlock the pty.

Returns
Zero if successful, < 0 otherwise.

This allows connections on the slave side.

Definition at line 268 of file tdesu_pty.cpp.


The documentation for this class was generated from the following files:
  • tdesu_pty.h
  • tdesu_pty.cpp

tdesu

Skip menu "tdesu"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdesu

Skip menu "tdesu"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdesu by doxygen 1.9.4
This website is maintained by Timothy Pearson.