LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-4175421806/)

rajesh13.kumar 08-13-2012 02:43 AM

Help me
 
#define IS_TRC(x) IsTrcPrint( __FILE__, __LINE__, IsTrc x)

Here IS_TRC is a macro.
IsTrcPrint and IsTrc is a function.
By calling this macro where does the control go first?
IsTrcPrint (or) IsTrc?

please explain it.

acid_kewpie 08-13-2012 03:28 AM

Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.

Wim Sturkenboom 08-13-2012 03:32 AM

It's clear that you did not read the replies in your other thread. Please use a title that covers the topic.

regarding the question, what would it do if you did not use the macro but IsTrcPrint( __FILE__, __LINE__, IsTrc x) straight away.


All times are GMT -5. The time now is 01:48 PM.