Rudiments
tty.h
1 // Copyright (c) 2004 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_TTY_H
5 #define RUDIMENTS_TTY_H
6 
7 #include <rudiments/private/tty.h>
8 
9 #ifdef RUDIMENTS_NAMESPACE
10 namespace rudiments {
11 #endif
12 
13 // @cond
14 
15 class ttyprivate;
16 
17 // wrap:
18 // unistd.h - tcgetpgrp(),tcsetpgrp()
19 // ctermid()
20 // ttyname(_r)()
21 // isatty()
22 // termios.h - tcgetsid()
23 // unistd.h - pathconf()/fpathconf():
24 // __PC_VDISABLE()
25 // __POSIX_MAX_CANON()
26 // __POSIX_MAX_INPUT()
27 // linux only -
28 // unistd.h - vhangup()
29 class RUDIMENTS_DLLSPEC tty : public filedescriptor {
30  public:
31 
32  #include <rudiments/private/tty.h>
33 };
34 
35 // @endcond
36 
37 #ifdef RUDIMENTS_NAMESPACE
38 }
39 #endif
40 
41 #endif