#include <sys/types.h>#include <ctype.h>#include <errno.h>#include <fcntl.h>#include <pwd.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <unistd.h>#include <utmp.h>#include <sys/ioctl.h>#include <sys/stat.h>#include <net/gen/in.h>#include <net/gen/inet.h>#include <net/gen/netdb.h>#include <net/gen/socket.h>#include <net/gen/tcp.h>#include <net/gen/tcp_hdr.h>#include <net/gen/tcp_io.h>#include <net/hton.h>#include <net/netlib.h>#include <minix/paths.h>Go to the source code of this file.
Classes | |
| struct | person |
Defines | |
| #define | NONOTHING 1 |
| #define | NONET 0 |
| #define | ASTERISK '*' |
| #define | COMMA ',' |
| #define | COMMAND '-' |
| #define | SAMENAME '&' |
| #define | TALKABLE 0220 |
| #define | NMAX sizeof(user.ut_name) |
| #define | LMAX sizeof(user.ut_line) |
| #define | HMAX sizeof(user.ut_host) |
| #define | savestr(s) strcpy(malloc(strlen(s) + 1), s) |
| #define | ll_line ut_line |
| #define | ll_host ut_host |
| #define | ll_time ut_time |
| #define | TTYLEN 5 |
| #define | preamble "/usr/spool/mail/" |
| #define | PPMAX 200 |
Functions | |
| char * | strcpy () |
| char * | ctime () |
| int | main (int argc, char *argv[]) |
| main (int argc, char **argv) | |
Variables | |
| struct utmp | user |
| char | LASTLOG [] = _PATH_LASTLOG |
| char | USERLOG [] = _PATH_UTMP |
| char | PLAN [] = "/.plan" |
| char | PROJ [] = "/.project" |
| int | unbrief = 1 |
| int | header = 1 |
| int | hack = 1 |
| int | idle = 0 |
| int | large = 0 |
| int | match = 1 |
| int | plan = 1 |
| int | unquick = 1 |
| int | small = 0 |
| int | wide = 1 |
| int | unshort |
| int | lf |
| struct person * | person1 |
| long | tloc |
| char * | prog_name |
| int | PlanPrinted [PPMAX+1] |
| int | PPIndex = 0 |
| #define ll_host ut_host |
| #define ll_line ut_line |
| #define ll_time ut_time |
| #define TTYLEN 5 |
| char* ctime | ( | ) |
| char* strcpy | ( | ) |
| int PlanPrinted[PPMAX+1] |
1.5.8