On Thu, 26 Aug 1999, Ish Rattan wrote:

> In file /usr/src/rtl/drivers/mbuff/tester.c,
> what is the function of multi-char constants given below?

> #define DMA_FILL1 'ab'
> #define DMA_FILL2 'CD'
> #define DMA_FILL3 'xy'

Just pure fun. I wanted to fill memory with some distinguishable patterns.
I guess that 'ab' == 'a'+256*'b'  (yes, you can do it in C) :-)

--
Tomek

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to