Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ho95e.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!ho95e!wcs From: wcs@ho95e.UUCP (x0705) Newsgroups: net.wanted.sources Subject: Re: Need Include File Message-ID: <527@ho95e.UUCP> Date: Wed, 26-Feb-86 18:58:47 EST Article-I.D.: ho95e.527 Posted: Wed Feb 26 18:58:47 1986 Date-Received: Fri, 28-Feb-86 08:34:50 EST References: <2@athena.UUCP> Reply-To: wcs@ho95e.UUCP (Bill Stewart 1-201-949-0705 ihnp4!ho95c!wcs HO 2G202) Organization: AT&T Bell Labs, Holmdel NJ Lines: 20 Keywords: answer(1), utsname.h In article <2@athena.UUCP> mikem@athena.UUCP (Michael E. Meyer) writes: > >In late December or early January, someone posted answer(1) to the net. It >is an automatic e-mail answering program that would be very useful. >Unfortunately, I am missing a critical include file: > > sys/utsname.h > On System 3 and System V systems, the utsname structure is returned by the uname() system call (man 2 uname), which tells you the name of your system. If you don't have the file, you're probably on a Berkeley system which uses a dfferent means of identifying the system. The program probably wanted the field "char nodename[9]", which is the name your system is know by on the uucp network, more or less. 4.1BSD used a file like /etc/whoami or something like that. -- # Bill Stewart, AT&T Bell Labs 2G-202, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs