#include <sys/types.h>#include <fcntl.h>#include <sys/wait.h>#include <sys/ioctl.h>#include <sys/stat.h>#include <errno.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <time.h>#include <stdio.h>#include <ttyent.h>#include <utmp.h>#include <net/gen/in.h>#include <net/gen/tcp.h>#include <net/gen/tcp_io.h>#include <net/gen/socket.h>#include <net/gen/netdb.h>#include <net/gen/inet.h>#include "telnetd.h"Include dependency graph for main.c:

Go to the source code of this file.
Functions | |
| _PROTOTYPE (void usage,(void)) | |
| _PROTOTYPE (int main,(int argc, char *argv[])) | |
| _PROTOTYPE (void wtmp,(int type, int linenr, char *line, pid_t pid, char *host)) | |
| void | usage () |
| int | main (int argc, argv) |
Variables | |
| static char * | Version = "@(#) telnetd 1.00 (07/26/92)" |
| int | opt_d = 0 |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 56 of file main.c. References AF_INET, buff, c, EOF, get_pty(), gethostbyaddr, getopt(), getttyent(), hostent::h_name, hostname, inet_ntoa(), ioctl, lineno, NULL, NWIOGTCPCONF, nwio_tcpconf::nwtc_remaddr, opt_d, opterr, optind, pid, sprintf(), strlen(), tty_name, usage, and write. |
|
|
|
|
|
|
|
|
|
1.4.6