[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cfgtool 1.0 -- alea iacta est



Lars Wirzenius <liw@iki.fi> wrote:
[...]
>When I say portable, I mean portable. Endianness is not a problem,
>nor the size of integers. What is stored is an 4 octet, little-endian
>version of the value -- it is converted to and from native format
>automatically.
>
>It is, of course, completely untested. :)

Dare I suggest
  htonl()
  ntohl()
  htons()
  ntohs()
and related functions? ;-)

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: