You copied the Doc URL to your clipboard.


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.