comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Funny about typing (not directly Ada related)
Date: Mon, 23 May 2011 18:16:47 -0700 (PDT)
Date: 2011-05-23T18:16:47-07:00	[thread overview]
Message-ID: <24c83e59-2415-4919-9d84-11c529a2aa99@d19g2000prh.googlegroups.com> (raw)
In-Reply-To: op.vvym87dnule2fv@douda-yannick

On May 23, 5:49 pm, Yannick Duchêne (Hibou57)
<yannick_duch...@yahoo.fr> wrote:
> Hello people out there,
>
> Not the quote of the year, however funny enough to share this here with  
> you.
>
> http://www.softlab.ntua.gr/facilities/documentation/unix/unix-socket-...
> says
>
> > 4.10 How do I use the gethostbyaddr() function?
> > From Andrew Gierth ( andr...@microlise.co.uk):
> > Many people are confused by the fact that the address parameter to this
> > function is declared as char*. That doesn't mean it's a character string
> > representation of the address!
>
> Cheese, and have a cool night

That page appears to be from 1996.  A quick "man gethostbyaddr" has
the first parameter declared as "const void *".  I don't know when
that change was made.

                       -- Adam





      reply	other threads:[~2011-05-24  1:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24  0:49 Funny about typing (not directly Ada related) Yannick Duchêne (Hibou57)
2011-05-24  1:16 ` Adam Beneschan [this message]
replies disabled

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