stdin

This command is only for use with semihosted applications when using the debugger interactively in the command-line console.

Note

This command is not required if you launch the debugger within Eclipse or if you use a telnet session to interact directly with the application.

Show/hideSyntax

stdin [input]

Where:

input

Specifies semihosting input requested by application code. This must be terminated by \n to tell the debugger that the input is complete.

You can use this command before the input is required by the application code. All input is buffered by the debugger until requested and then discarded when the semihosting operation finishes.

Show/hideExample

Example 143. stdin

stdin 10000\n                # Pass the number 10000 to the application

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452J
Non-ConfidentialID051612