Skip to main content

IAR Embedded Workbench for Arm 9.70.x

system

In this section:
Source file
arm\src\lib\runtime\system.c
Declared in

stdlib.h

Description

Standard C library function that executes commands.

C-SPY debug action

Notifies the C-SPY debugger that system has been called and then returns -1.

Default implementation

The system function available in the library returns 0 if a null pointer is passed to it to indicate that there is no command processor, otherwise it returns -1 to indicate failure. If this is not the functionality that you require, you can implement your own version. This does not require that you rebuild the library.

See also

Briefly about retargeting.