[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 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

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:

0 Successful return.
-1 Error occurred.

[ Previous | Next | Contents | Home | Search ]