Guardian Programming Reference Summary for C

Functions Summary (O-Q)
Guardian Programming Reference Summary for C522630-001
7-24
PROCESS_SPAWN_
Creates a new Open System Services (OSS) process and, optionally, assigns a number of
process attributes. You can use this procedure to create only OSS processes, although
you can call it from either a Guardian process or an OSS process. To create a Guardian
process, call the PROCESS_CREATE_ procedure.
For more information about the PROCESS_SPAWN function, refer to the Open System
Services System Calls Reference Manual.
PROCESS_STOP_
Deletes a process or a process pair and sends a process deletion system message to the
mom of the process and to any other process that is entitled to receive the message.
specifier
#include <cextdecs(PROCESS_SPAWN_)>
short PROCESS_SPAWN_ ( [ char *oss-program-file ] /* i */
,[ void *fdinfo ] /* i */
,[ char *argv ] /* i */
,[ char *envp ] /* i */
,[ void *inheritance ] /* i */
,[ long inheritance-length ] /* i */
,[ void *process-extension ] /* i */
,[ void *process-results ] /* i,o */
,[ long nowait-tag ] /* i */
,[ char *path ] ); /* i */
#include <cextdecs(PROCESS_STOP_)>
short PROCESS_STOP_ ( [ short *processhandle ] /* i */
,[ short specifier ] /* i */
,[ short options ] /* i */
,[ short completion-code ] /* i */
,[ short termination-info ] /* i */
,[ short *spi-ssid ] /* i */
,[ const char *text ] /* i */
,[ short length ] ); /* i */
0 = Stop the specified process only.
1 = Stop both members if the specified process is part of a named process pair;
otherwise, stop the specified process.
2 = Stop the callers opposite member, but not the caller, if it is part of a named
process pair. The processhandle parameter is ignored.