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=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 21 Jul 93 14:56:58 GMT From: emery@mitre-bedford.arpa (David Emery) Subject: Re: gethostname (Was: SunAda question) Message-ID: List-Id: >Frankly, I'm offended! This completely violates everything that I've >been taught about Ada functions! The actual parameters of a function >should not be modified. A function should only return one value. The Verdix package "Unix" is what is called a "thin binding", in that it simply recasts an existing C operation, semantics and all, in Ada syntax. Your better solution is to use the POSIX/Ada binding. See "POSIX.System_Name" and "POSIX.Host_Name" functions. dave