[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwIP memory leak problem
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] lwIP memory leak problem |
Date: |
Tue, 09 Dec 2008 08:46:03 +0000 |
On Sat, 2008-12-06 at 15:42 +0800, yueyue papa wrote:
> Thanks Kieran.
>
> I have another question why lwIP did not give a open API for get the
> erro reason. I find there is only "sock_set_errno" define, but no
> "sock_get_errno" define.
The API for accessing errno is just that applications use the global
variable errno directly. This is the standard way. See here for
example:
http://www-128.ibm.com/developerworks/aix/library/au-errnovariable/
Kieran