[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Understanding the Diagnostic Subsystem for AIX
diag_execute
Purpose
Executes an application. Does not depend on ASL initialization.
Syntax
#include <diag/diago.h>
long diag_execute ( command, options, exit_status )
char *command;
char *options;>
int *exit_status;
Description
The diag_asl_execute subroutine
forks and executes an application. This subroutine does not depend on ASL
initialization, and it does not preserve the state of ASL.
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. |
-1 |
Error occurred. |
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]