Keil Logo

#pragma import(_main_redirection)

4.18 #pragma import(_main_redirection)

This pragma enables automatic command-line redirection.

Defining this pragma lets you use the < and > command-line operators to redirect the standard input, output, and error streams at program startup.
If you do not define this pragma and attempt to use redirection operators on the command-line, the redirection operators and associated filenames are passed to the program as ordinary argument strings.


#pragma import(_main_redirection)
Related information
Non-ConfidentialPDF file icon PDF versionARM DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.