From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4bf2fd2a01de65f3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!d19g2000prh.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Funny about typing (not directly Ada related) Date: Mon, 23 May 2011 18:16:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: <24c83e59-2415-4919-9d84-11c529a2aa99@d19g2000prh.googlegroups.com> References: NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1306199807 7731 127.0.0.1 (24 May 2011 01:16:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 May 2011 01:16:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d19g2000prh.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ARLUEHNKC X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19390 Date: 2011-05-23T18:16:47-07:00 List-Id: On May 23, 5:49=A0pm, Yannick Duch=EAne (Hibou57) wrote: > Hello people out there, > > Not the quote of the year, however funny enough to share this here with = =A0 > 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 strin= g > > 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