From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,MSGID_SHORT autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 21 Jul 93 12:07:29 GMT From: wittsend!gelac!celliott@gatech.edu (Chris Elliott) Subject: Re: SunAda question Message-ID: <578@gelac.lockheed.com> List-Id: In article <9307201338.aa20178@Paris.ics.uci.edu> kanderso@mabillon.ICS.UCI.EDU (Kenneth Anderson) writes: >Two questions: > > 1. Anyone know why such a useless function would be included in > this package? > > 2. What is a good portable way of finding out the name of the machine > your program is running on? It's not portable, but you can pragma interface to get_myaddress and pass it a sockaddr_in type record. -- Chris Elliott | Phone: (404) 494-0571 Lockheed Aeronautical Systems Company | Fax: (404) 494-6989 86 South Cobb Drive, Dept 73-6M Zone 0670 | Marietta, GA 30063-0670 |