6.19.38 system Function
Execute a command.
Attention: This function is not implemented by MPLAB XC8 C
compilers.
Include
<stdlib.h>
Prototype
int system(const char * string);
Argument
string
- command to be executed
Remarks
This function is implemented as a stub that must be completed to suit the application.
Default Behavior
When using MPLAB XC16 or XC-DSC, calling this function with a non-NULL
string
argument will result in an error message being written to
stdout
and the program resetting ; otherwise, a value of -1 is
returned.
When using with MPLAB XC32, the function will do nothing and return a value of -1.