Rudiments
|
00001 // Copyright (c) 2004 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_TTY_H 00005 #define RUDIMENTS_TTY_H 00006 00007 #include <rudiments/private/tty.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 // @cond 00014 00015 class ttyprivate; 00016 00017 // wrap: 00018 // unistd.h - tcgetpgrp(),tcsetpgrp() 00019 // ctermid() 00020 // ttyname(_r)() 00021 // isatty() 00022 // termios.h - tcgetsid() 00023 // unistd.h - pathconf()/fpathconf(): 00024 // __PC_VDISABLE() 00025 // __POSIX_MAX_CANON() 00026 // __POSIX_MAX_INPUT() 00027 // linux only - 00028 // unistd.h - vhangup() 00029 class RUDIMENTS_DLLSPEC tty : public filedescriptor { 00030 public: 00031 00032 #include <rudiments/private/tty.h> 00033 }; 00034 00035 // @endcond 00036 00037 #ifdef RUDIMENTS_NAMESPACE 00038 } 00039 #endif 00040 00041 #endif