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.

Syntax

#pragma import(_main_redirection)
Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.