[Top][All Lists]

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

Re: [lwip-devel] What is xchar() macro?

From: Ambroz Bizjak
Subject: Re: [lwip-devel] What is xchar() macro?
Date: Wed, 1 Nov 2017 16:05:22 +0100

My guess is that xchar is completely nonstandard and the code works
only because <ctype.h> is not included leading to the custom
definitions within "#ifndef isprint" to be used. Might be interesting
to see what happens if one adds #include <ctype.h> at the top of

On Wed, Nov 1, 2017 at 1:05 PM, goldsimon <address@hidden> wrote:
> Ambroz Bizjak wrote:
>>Clearly xchar(i) returns the uppercase hexadecimal char for the given
>>integer in range [0,15], or in other words "0123456789ABCDEF"[i].
> Of course. I rather read Joel's question like "where is this function 
> standardized to keep the lwip code portable when using it".
> Simon
> _______________________________________________
> lwip-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-devel

reply via email to

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