ARM Technical Support Knowledge Articles

EJECT DIRECTIVE

Applies to: C251 C Compiler

Answer


Information in this article applies to:


QUESTION

What does the EJECT directive do?

ANSWER

The EJECT directive (abbreviated with EJ) inserts a form feed character into the listing file. This directive must be used in the source file within a #pragma statement. For example:

#pragma EJECT
void main (void)
{
}


#pragma EJECT
int function_a (void)
{
}

When compiled, the generated listing file will place the main function on one page and the function_a function on a different page.

MORE INFORMATION

Article last edited on: 2005-07-15 14:18:37

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential