Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdesu
tdesu
tdesu
tdesu_pty.h
1
/*
2
*
3
* $Id$
4
*
5
* This file is part of the KDE project, module tdesu.
6
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
7
*
8
* This is free software; you can use this library under the GNU Library
9
* General Public License, version 2. See the file "COPYING.LIB" for the
10
* exact licensing terms.
11
*/
12
13
18
#ifndef __PTY_h_Included__
19
#define __PTY_h_Included__
20
21
#include <tqcstring.h>
22
23
#include <tdelibs_export.h>
24
25
class
TDESU_EXPORT
PTY
{
26
27
public
:
31
PTY
();
32
36
~PTY
();
37
42
int
getpt
();
43
48
int
grantpt
();
49
54
int
unlockpt
();
55
60
TQCString
ptsname
();
61
62
private
:
63
64
int
ptyfd;
65
TQCString ptyname, ttyname;
66
67
class
PTYPrivate;
68
PTYPrivate *d;
69
};
70
71
#endif
// __PTY_h_Included__
PTY::unlockpt
int unlockpt()
Unlock the slave side.
Definition
tdesu_pty.cpp:268
PTY::PTY
PTY()
Construct a PTY object.
Definition
tdesu_pty.cpp:80
PTY::grantpt
int grantpt()
Grant access to the slave side.
Definition
tdesu_pty.cpp:199
PTY::ptsname
TQCString ptsname()
Get the slave name.
Definition
tdesu_pty.cpp:299
PTY::getpt
int getpt()
Allocate a pty.
Definition
tdesu_pty.cpp:94
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