system()

This is the standard C library system() function from stdlib.h.

Show/hideSyntax

int system(const char *string);

Show/hideUsage

The default implementation of this function uses semihosting.

system() passes the string pointed to by string to the host environment to be executed by a command processor in an implementation-defined manner. A null pointer can be used for string, to inquire whether a command processor exists.

Show/hideReturns

If the argument is a null pointer, the system function returns nonzero only if a command processor is available.

If the argument is not a null pointer, the system() function returns an implementation-defined value.

Show/hideSee also

Reference

ARM C and C++ Libraries and Floating-Point Support User Guide:

Copyright © 2014 ARM. All rights reserved.ARM DUI 0809B
Non-ConfidentialID121814