Subject: Re: ntoh{l,s}, hton{l,s} not in libc for ns32k, powerpc.
To: Simon Burge <simonb@wasabisystems.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-userlevel
Date: 09/19/2001 13:36:14
On Wed, 19 Sep 2001, Bill Studenmund wrote:

> On Fri, 21 Sep 2001, Simon Burge wrote:
>
> > Anyone have problems with me adding the network byte order functions to
> > libc for these architectures?
>
> At least for powerpc, I thought our includes defined these functions away
> (since all of our powerpc ports are big-endian)? I'm not against you
> adding them, just confused as to how we'd get programs which needed them.

A number of folks mentioned some reasons:

1) programs not including the right include files

2) ansi c setting the precedent that all function-like macros exist as
functions too.

Sounds good.

Take care,

Bill