Observations from an old timer playing with 64 bit numbers...
Randall Stewart
rrs at lakerest.net
Thu Jun 24 12:19:39 UTC 2010
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 at 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 at gmail.com
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
------------------------------
Randall Stewart
803-317-4952 (cell)
More information about the freebsd-net
mailing list