Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-234
PROCESSNAME_CREATE_ Procedure
PROCESSNAME_CREATE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The PROCESSNAME_CREATE_ procedure returns a unique process name that is
suitable for passing to the PROCESS_LAUNCH_, PROCESS_CREATE_, or
PROCESS_SPAWN_ procedure. This type of naming (as opposed to using a
predefined process name) is used when the name of a process pair does not need to
be known to other processes in the system or network.
Syntax for C Programmers
The parameter length specifies the length in bytes of the character string pointed to
by
nodename. The parameters nodename and length must either both be supplied
or both be absent.
Syntax for TAL Programmers
#include <cextdecs(PROCESSNAME_CREATE_)>
short PROCESSNAME_CREATE_ ( char *name
,short maxlen
,short *namelen
,[ short name-type ]
,[ const char *nodename ]
,[ short length ]
,[ short options ] );
error := PROCESSNAME_CREATE_ ( name:maxlen ! o:i
,namelen ! o
,[ name-type ] ! i
,[ nodename:length ] ! i:i
,[ options ] ); ! i