2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Ux::Pty Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::Pty:

Ux::Terminal Ux::File Ux::Base List of all members.

Detailed Description

Note that ioctl is not included because there's no portable way to handle the arguments with stdargs (variable arguments). The Pseudo-Terminal Library from AUP2 has not been included, although it probably ought to be, as it's much easier to use than the low-level functions, and more portable.

Definition at line 30 of file uxpty.hpp.

Public Member Functions

 Pty (int f=-1, const char *p=NULL, ssize_t s=-1)
 Pty (const char *p, ssize_t s=-1)
void posix_openpt (int oflag=O_RDWR)
void grantpt (void)
void unlockpt (void)
char * ptsname (void)


Constructor & Destructor Documentation

Ux::Pty::Pty int  f = -1,
const char *  p = NULL,
ssize_t  s = -1
[inline]
 

Definition at line 33 of file uxpty.hpp.

Ux::Pty::Pty const char *  p,
ssize_t  s = -1
[inline]
 

Definition at line 36 of file uxpty.hpp.


Member Function Documentation

void Pty::grantpt void   ) 
 

Definition at line 28 of file uxpty.cpp.

References errno, and Ux::File::fd.

void Pty::posix_openpt int  oflag = O_RDWR  ) 
 

Definition at line 22 of file uxpty.cpp.

References errno, and Ux::File::fd.

char * Pty::ptsname void   ) 
 

Definition at line 40 of file uxpty.cpp.

References errno, and Ux::File::fd.

void Pty::unlockpt void   ) 
 

Definition at line 34 of file uxpty.cpp.

References errno, and Ux::File::fd.


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:17 2004 for AUP2 Example Source by doxygen 1.3.1