4.49 system()

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


int system(const char *string);


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.


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.

Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.