Rudiments
|
00001 // Copyright (c) 2004 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_PSEUDOTTY_H 00005 #define RUDIMENTS_PSEUDOTTY_H 00006 00007 #include <rudiments/private/pseudotty.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 // @cond 00014 00015 class pseudottyprivate; 00016 00017 // wrap: 00018 // not in solaris - 00019 // pty.h - openpty(),forkpty() 00020 // utmp.h - login_tty() 00021 // not on solaris or linux - 00022 // ttyent.h - getttyent()/getttynam()/setttyent()/endttyent() 00023 // not in bsd - 00024 // stdlib.h - posix_optnpt(),grantpt(),unlockpt(),ptsname(_r)() 00025 // gnu extensions - 00026 // stdlib.h - getpt() 00027 class RUDIMENTS_DLLSPEC pseudotty : public filedescriptor { 00028 public: 00029 00030 #include <rudiments/private/pseudotty.h> 00031 }; 00032 00033 // @endcond 00034 00035 #ifdef RUDIMENTS_NAMESPACE 00036 } 00037 #endif 00038 00039 #endif