=head1 NAME libptytty - OS independent and secure pty/tty and utmp/wtmp/lastlog handling =head1 SYNOPSIS -lptytty =head1 DESCRIPTION =head1 SECURITY CONSIDERATIONS I<< B >> If you are a typical terminal-like program that just wants one or more ptys, you should call the C method as the very first thing in your program: int main (int argc, char *argv[]) { // do nothing here ptytty::init (); // initialise, parse arguments, etc. } This checks wether the program runs setuid or setgid. If yes then it will fork a helper process and drop privileges. Some programs need finer control over if and when this helper process is started, and if and how to drop privileges. etc.. etc.. =head1 THE ptytty CLASS =over 4 =item new ptytty ... =back =head1 BUGS You kiddin'? =head1 AUTHORS Emanuele Giaquinta L<< >>, Marc Alexander Lehmann L<< >>.