Open System Services System Calls Reference Manual (G06.25+, H06.03+)

tdm_execvep(2) OSS System Calls Reference Manual
NAME
tdm_execvep - Executes a le with HP extensions
LIBRARY
G-series native OSS processes: /G/system/sysnn/zossksrl
H-series OSS processes: /G/system/zdllnnn/zosskdll
SYNOPSIS
#include <tdmext.h>
[ extern char **environ; ]
int tdm_execvep(
const char file,
char const argv[],
char const envp[],
const struct process_extension pe_parms,
struct process_extension_results
pr_results);
PARAMETERS
**environ Points to an array of character pointers to environment strings. The environment
strings dene the OSS environment for the calling process. The environ array is
terminated by a null pointer.
file Points to a pathname that identies the new process image le. If the pathname
starts with a slash (/) character, it is the absolute pathname. If this pathname does
not start with a slash but does contain a slash, the pathname resolves relative to
the current working directory. Otherwise, the pathname contains no slash, and
the system searches the directories listed in the PATH environment variable for
the le and prexes the directory in which the le is found.
argv[] Species an array of character pointers to null-terminated strings containing
arguments to be passed to the main function of the new program. argv[0] should
point to the null-terminated string containing the lename of the new process
image. The last member of this array must be a null pointer.
envp[] Species an array of character pointers to null-terminated strings that describe
the environment for the new process.
pe_parms Points to the input structure containing Guardian process attributes to be
assigned to the new process. The structure must be dened locally to match the
denition in the tdmext.h header le. The local structure must be initialized
before its rst use. Initialization can be done using the #dene
DEFAULT_PROCESS_EXTENSION,asdened in the tdmext.h header le.
The initialized values can then be modied as appropriate for the call. When
this parameter contains a null pointer, the tdm_execvep() function assumes
default Guardian attributes.
pr_results Points to the output structure containing optional process identication and error
information. In case of error, this structure provides additional information,
including the PROCESS_LAUNCH_ procedure error and error detail. The struc-
ture must be dened locally to match the denition in the tdmext.h header le.
The local structure must be initialized before its rst use. Initialization can be
done using the #dene DEFAULT_PROCESS_EXTENSION_RESULTS,as
dened in the tdmext.h header le. |
See the process_extension_results(5) reference page for information about the |
content of the structure. The tdmext.h header le is not kept current when new |
816 Hewlett-Packard Company 527186-003