Return to finger.c CVS log | Up to [local] / src / usr.bin / finger |
version 1.18, 2009/11/12 15:33:21 | version 1.19, 2015/01/16 06:40:07 | ||
---|---|---|---|
|
|
||
* well as home directory, shell, mail info, and .plan/.project files. | * well as home directory, shell, mail info, and .plan/.project files. | ||
*/ | */ | ||
#include <sys/param.h> | |||
#include <sys/file.h> | #include <sys/file.h> | ||
#include <sys/stat.h> | #include <sys/stat.h> | ||
#include <stdio.h> | #include <stdio.h> | ||
|
|
||
#include <string.h> | #include <string.h> | ||
#include <time.h> | #include <time.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
#include <limits.h> | |||
#include <err.h> | #include <err.h> | ||
#include "finger.h" | #include "finger.h" | ||
#include "extern.h" | #include "extern.h" | ||
|
|
||
extern int optind; | extern int optind; | ||
extern char *__progname; | extern char *__progname; | ||
int ch; | int ch; | ||
char domain[MAXHOSTNAMELEN]; | char domain[HOST_NAME_MAX+1]; | ||
struct stat sb; | struct stat sb; | ||
oflag = 1; /* default to old "office" behavior */ | oflag = 1; /* default to old "office" behavior */ |