comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!news.cac.ps u.edu!icf.hrb.com!jtt@ucbvax.Berkeley.EDU  (Jack Taylor)
Subject: RE: SunAda question
Date: 21 Jul 93 13:25:01 GMT	[thread overview]
Message-ID: <1993Jul21.082502.20402@icf.hrb.com> (raw)

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


Am I missing something here? Isn't this address a pointer to a UNIX string
containing the hostname?

             reply	other threads:[~1993-07-21 13:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-21 13:25 cis.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!news.cac.ps [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-22 10:49 SunAda question Steven Hovater
1993-07-21 20:52 Esther Lumsdon
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 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