1PARENT(3PVM)                    PVM Version 3.4                   PARENT(3PVM)
2
3
4

NAME

6       pvm_parent  -  Returns  the tid of the process that spawned the calling
7       process.
8
9

SYNOPSIS

11       C    int tid = pvm_parent( void )
12
13       Fortran   call pvmfparent( tid )
14
15

PARAMETERS

17       tid     Integer returns the task identifier of the parent of the  call‐
18               ing  process.   If  the  calling  process  was not created with
19               pvm_spawn, then tid = PvmNoParent.
20
21

DESCRIPTION

23       The routine pvm_parent returns the tid of the process that spawned  the
24       calling process. If the calling process was not created with pvm_spawn,
25       then tid is set to PvmNoParent.
26
27

EXAMPLES

29       C:
30            tid = pvm_parent();
31
32       Fortran:
33            CALL PVMFPARENT( TID )
34
35

ERRORS

37       This error condition can be returned by pvm_parent.
38
39       PvmNoParent
40              The calling process was not created with pvm_spawn.
41
42       PvmSysErr
43              Can't contact local pvmd.
44

SEE ALSO

46                                30 August, 1993                   PARENT(3PVM)
Impressum