[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] beta14 question..
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 majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/