[Top][All Lists]
[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
- Re: [lwip-devel] netconn/socket: converting len argument to size_t, (continued)
- Re: [lwip-devel] netconn/socket: converting len argument to size_t, Jakob Stoklund Olesen, 2009/02/13
- Re: [lwip-devel] netconn/socket: converting len argument to size_t, Simon Goldschmidt, 2009/02/13
- Re: [lwip-devel] netconn/socket: converting len argument to size_t, Jakob Stoklund Olesen, 2009/02/13
- RE: [lwip-devel] netconn/socket: converting len argument to size_t, bill, 2009/02/13
- Re: RE: [lwip-devel] netconn/socket: converting len argument to size_t, Simon Goldschmidt, 2009/02/13
- RE: RE: [lwip-devel] netconn/socket: converting len argument to size_t, bill, 2009/02/13
- Re: [lwip-devel] netconn/socket: converting len argument to size_t, address@hidden, 2009/02/14
- RE: [lwip-devel] netconn/socket: converting len argument to size_t, bill, 2009/02/13
Re: [lwip-devel] netconn/socket: converting len argument to size_t,
Kieran Mansley <=