edelib
2.1.0
|
emulate pty api More...
#include <edelib/Pty.h>
Public Member Functions | |
PTY () | |
~PTY () | |
int | getpt () |
int | grantpt () |
int | unlockpt () |
const char * | ptsname () |
emulate pty api
PTY compatibility routines. This class tries to emulate a UNIX98 PTY API on various platforms.
int getpt | ( | ) |
Allocate a pty
int grantpt | ( | ) |
Grant access to the slave side
const char* ptsname | ( | ) |
Return the slave side name
int unlockpt | ( | ) |
Unlock the pty. This allows connections on the slave side.