diag_asl_execute
Purpose
Executes an application.
Syntax
#include <diag/diago.h>
long diag_asl_execute ( command, options, exit_status )
char *command;
char *options;
int *exit_status;
Description
The diag_asl_execute subroutine forks and executes an application while preserving the state of the ASL interface.
Parameters
Parameter | Description |
---|---|
command | Command or application to run. |
options | Character array, starting with the command, followed by any command arguments, ending with a NULL. |
exit_status | Exit status returned from the command. |
Return Value
The following values are returned:
Return Value | Description |
---|---|
0 | Successful return. |
DIAG_ASL_FAIL | Error occurred. |