Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 05:19:29 -0700
From:      Randall Stewart <rrs@lakerest.net>
To:        Bob Johnson <fbsdlists@gmail.com>
Cc:        net@freebsd.org
Subject:   Re: Observations from an old timer playing with 64 bit numbers...
Message-ID:  <465EA76D-C86C-47B2-8F6E-B60CFDBB087A@lakerest.net>
In-Reply-To: <AANLkTilU6EoCroqk3LevRgNS_Ghlc9I10foMj5rG48El@mail.gmail.com>
References:  <E3C4102C-3106-4D5B-86E5-8D5BDD7FD442@lakerest.net> <20100622221228.GA93249@onelab2.iet.unipi.it> <20100623232402.X45536@delplex.bde.org> <9C936FEB-4858-4D8D-89CC-182EA3A80365@lakerest.net> <20100623171222.GA7981@onelab2.iet.unipi.it> <4C226354.80601@elischer.org> <EDF1B516-63DC-4595-9690-2B7AB6CA811E@lakerest.net> <AANLkTilU6EoCroqk3LevRgNS_Ghlc9I10foMj5rG48El@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bob:

Thats strange... when I do

man byteorder

(on my FreeBSD 8.0 system upgraded to head .. buildworld/installworld/ 
et.al)

I get the same man age showing for both

man ntohl

and

man byteorder


This may just be a problem with my system.. I will check the other
8.0 installed systems at work when I get in this AM.


I think what's needed here is some hint inside the man ntohl
that for 64 bit quantities should use be64toh/htobe64 and a
reference to that man page..

R
On Jun 23, 2010, at 8:36 PM, Bob Johnson wrote:

> On 6/23/10, Randall Stewart <rrs@lakerest.net> wrote:
>
>> Then I would strongly suggest you go fix the manual page for ntohl/
>> ntohs and
>> point people to the be64toh() functions... then people would NOT be
>> ignorant.
>>
>> The problem is there is NO clue in the system...
>
> Already done, at least in 7.2. But it refers you to them under the
> alias byteorder(9).
>
> - Bob
>
> -- 
> -- Bob Johnson
>   fbsdlists@gmail.com
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>

------------------------------
Randall Stewart
803-317-4952 (cell)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?465EA76D-C86C-47B2-8F6E-B60CFDBB087A>