04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Standard C Implementation Definition<br />

> filename Writes stdout to filename.<br />

2> filename Writes stderr to filename.<br />

2>&1<br />

>& file<br />

Writes stderr to the same place as stdout.<br />

Writes both stdout and stderr to filename.<br />

>> filename Appends stdout to filename.<br />

>>& filename Appends both stdout and stderr to filename.<br />

To redirect stdin, stdout, and stderr on the target, you must define:<br />

#pragma import(_main_redirection)<br />

File redirection is done only if either:<br />

• the invoking operating system supports it<br />

• the program reads and writes characters and has not replaced the C library<br />

functions fputc() and fgetc().<br />

B.1.3<br />

Identifiers<br />

See Character sets and identifiers on page 5-2 for more information.<br />

B.1.4<br />

Characters<br />

See Character sets and identifiers on page 5-2 for more information.<br />

B.1.5<br />

Integers<br />

See Integer on page 5-5 for more information.<br />

B.1.6<br />

Floating-point<br />

See Float on page 5-5 for more information.<br />

B.1.7<br />

Arrays and pointers<br />

See Arrays and pointers on page 5-5 for more information.<br />

B.1.8<br />

Registers<br />

Using the <strong>ARM</strong> compiler, you can declare any number of local objects to have the<br />

storage class register.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. B-5<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!