Re: Macro calling kernel function
- From: Artie Gold <artiegold@xxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 19:30:12 -0500
David wrote:
Hi, I am using header file for driver so Can I define macro to call Kernel function ?
A macro works by textual replacement. You can use a macro to do whatever you want; if the resultant code is correct, all is well.
What are the generatl rules for defining macro.
There are none, other than `use sparingly'.
HTH, --ag
[The question you've asked indicates that you have no real understanding of how C works. *Please* get a good book. See http://www.accu.org for suggestions.]
-- Artie Gold -- Austin, Texas http://it-matters.blogspot.com (new post 12/5) http://www.cafepress.com/goldsays "If you have nothing to hide, you're not trying!" .
- Follow-Ups:
- Re: Macro calling kernel function
- From: David
- Re: Macro calling kernel function
- References:
- Macro calling kernel function
- From: David
- Macro calling kernel function
- Prev by Date: Macro calling kernel function
- Next by Date: Re: Macro calling kernel function
- Previous by thread: Macro calling kernel function
- Next by thread: Re: Macro calling kernel function
- Index(es):
Relevant Pages
|