Keil Logo


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 DUI0378H
Copyright © 2007, 2008, 2011, 2012, 2014-2016 ARM. All rights reserved. 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.