comp.lang.ada
 help / color / mirror / Atom feed
From: sarge!sarge!esther@uunet.uu.net  (Esther Lumsdon)
Subject: Re: SunAda question
Date: 21 Jul 93 20:52:56 GMT	[thread overview]
Message-ID: <esther.743287976@sarge> (raw)

svh@verdix.com (Steven Hovater) writes:

>kanderso@mabillon.ICS.UCI.EDU (Kenneth Anderson) writes:

>>Hello.  I am using the sunada-1.1 compiler and it came with a package
>>unix defined in its standard library.  One of the subprograms defined
>>in the package unix is

>>        function gethostname(name: address; namelen: integer)
>>                return status_code;

>>As defined this function seems very useless.  It will only tell you whether
>>or not the call to gethostname was successful.  It will not tell you,
>>despite its name, what the hostname is.

>>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?

>>Thanks in advance,

>>Ken Anderson

>Hi Ken - not speaking officially here for Verdix, but for myself :)

[  Steven Hovater included some code to get the hostname. ]

Again, not an official communication from Verdix:

The Verdix support BBS has unsupported code which does socket communication
703-318-5898, 2400 baud, or 9600 baud telebit modem.  It's called
asynchronous something-or-other on the BBS.  You don't have to download
it via the phone line; the BBS has an option to email stuff to you.
If you have any trouble getting this, call the support hotline.
Most of the material on the BBS is unsupported, supplied in source form.
-- 
-- Esther Lumsdon, not speaking for Verdix.   esther@verdix.com
"It's time to cut bait and talk turkey.  It takes 2 snakes to cross a
puddle. You have to bale hay while the tractor is warm."
  ---- either H. Ross Perot or Dave Barry

             reply	other threads:[~1993-07-21 20:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-21 20:52 Esther Lumsdon [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-22 10:49 SunAda question Steven Hovater
1993-07-21 18:50 David Emery
1993-07-21 16:07 cis.ohio-state.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!darwin.s
1993-07-21 15:39 Robert I. Eachus
1993-07-21 13:25 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!news.cac.ps
1993-07-21 12:07 Chris Elliott
1993-07-21 11:37 Steven Hovater
1993-07-20 20:38 Kenneth Anderson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox