Rudiments
pseudotty.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_PSEUDOTTY_H
5 #define RUDIMENTS_PSEUDOTTY_H
6 
7 #include <rudiments/private/pseudotty.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 // @cond
14 
15 class pseudottyprivate;
16 
17 // wrap:
18 // not in solaris -
19 // pty.h - openpty(),forkpty()
20 // utmp.h - login_tty()
21 // not on solaris or linux -
22 // ttyent.h - getttyent()/getttynam()/setttyent()/endttyent()
23 // not in bsd -
24 // stdlib.h - posix_optnpt(),grantpt(),unlockpt(),ptsname(_r)()
25 // gnu extensions -
26 // stdlib.h - getpt()
27 class RUDIMENTS_DLLSPEC pseudotty : public filedescriptor {
28  public:
29 
30  #include <rudiments/private/pseudotty.h>
31 };
32 
33 // @endcond
34 
35 #ifdef RUDIMENTS_NAMESPACE
36 }
37 #endif
38 
39 #endif