lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] netconn/socket: converting len argument to size_t


From: Kieran Mansley
Subject: Re: [lwip-devel] netconn/socket: converting len argument to size_t
Date: Fri, 13 Feb 2009 09:48:19 +0000

On Thu, 2009-02-12 at 18:55 +0100, address@hidden wrote:
> Hi all,
> 
> I'd like to change the various length/size parameters of the socket API 
> from 'int' to 'size_t', mainly to be conformant to the standard (see 
> opengroup.org), but also for portability (size of the types should 
> always be the same).
> 
> For that, the length parameters of the netconn API would have to be 
> changed, too. In my opinion, using size_t is a cleaner solution than 
> int, regarding portability. This would also solve the problems we had in 
> patch #6699...
> 
> 
> I'm preparing my sources for that and will commit them on the weekend if 
> nobody opts in.

Sounds like a good idea to me, and should be relatively painless for
people to update applications to the new API.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]