vtl@stolaf.UUCP (10/26/83)
Does anyone know why (how) the file /usr/include/stat.h came into existence? I'm looking at v7, SIII and 4.1BSD systems, trying to figure out where it came from. For the people running 4.2BSD: Does this file exist? Looking at the v7 (and 4.1) /usr/man/man2/stat.2, I find at the top: #include <sys/stat.h> in the middle: <stat.h> followed by: .so /usr/include/sys/stat.h The System III STAT(2) manual page lost this bug (feature) when it was rewritten. Here's a list of files I found in /usr/src which use "<stat.h>". A few may be local programs, but most appear to be Berkeley creations. ./cmd/adb/setup.c #include <stat.h> ./cmd/catman.c # include <stat.h> ./cmd/file.c #include <stat.h> ./cmd/last.c #include <stat.h> ./cmd/login/probe.c #include <stat.h> ./cmd/lastcomm.c # include <stat.h> ./cmd/ld.c #include <stat.h> ./cmd/nm.c #include <stat.h> ./cmd/symorder.c #include <stat.h> ./cmd/pxp/subr.c #include <stat.h> ./cmd/comsat.c #include <stat.h> ./cmd/biff.c #include <stat.h> ./cmd/old/lpr/lpd.c #include <stat.h> ./cmd/old/lpr/lpq.c #include <stat.h> ./cmd/old/lpr/lprm.c #include <stat.h> ./cmd/basic/libw/modtime.c #include <stat.h> ./local/where.c #include <stat.h> Any hints on the history (future included) of <stat.h> would be appreciated. I'll be happy to summarize if anyone is interested. Victor Lee -- St. Olaf College, Northfield MN -- {decvax,ihnp4}!stolaf!vtl