mikem@athena.UUCP (Michael E. Meyer) (02/24/86)
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 If anyone has this include file or the original poster can send it to me, I will appreciate it very much. Thank you, Michael E. Meyer ____________________ TEKTRONIX, Inc P.O. Box 4600, DS 92-822 Beaverton, OR USA 97075 (503) 629-1553
wcs@ho95e.UUCP (x0705) (02/27/86)
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